aboutsummaryrefslogtreecommitdiff
path: root/libraries/allegro4/allegro4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/allegro4/allegro4.SlackBuild')
-rw-r--r--libraries/allegro4/allegro4.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/allegro4/allegro4.SlackBuild b/libraries/allegro4/allegro4.SlackBuild
index f88d07e211dc5..4c3d00e8520cb 100644
--- a/libraries/allegro4/allegro4.SlackBuild
+++ b/libraries/allegro4/allegro4.SlackBuild
@@ -30,6 +30,8 @@
# - Take over maintenance.
# - i486 => i586.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=allegro4
SRCNAM=allegro
VERSION=${VERSION:-4.4.3.1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}