aboutsummaryrefslogtreecommitdiff
path: root/system/eaglemode/eaglemode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/eaglemode/eaglemode.SlackBuild')
-rw-r--r--system/eaglemode/eaglemode.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/eaglemode/eaglemode.SlackBuild b/system/eaglemode/eaglemode.SlackBuild
index 6d249636d56dd..d083549833475 100644
--- a/system/eaglemode/eaglemode.SlackBuild
+++ b/system/eaglemode/eaglemode.SlackBuild
@@ -17,6 +17,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eaglemode
VERSION=${VERSION:-0.94.1}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}