summaryrefslogtreecommitdiff
path: root/libraries/argtable/argtable.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/argtable/argtable.SlackBuild')
-rw-r--r--libraries/argtable/argtable.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/argtable/argtable.SlackBuild b/libraries/argtable/argtable.SlackBuild
index 3cd975c0a0..77a35426b7 100644
--- a/libraries/argtable/argtable.SlackBuild
+++ b/libraries/argtable/argtable.SlackBuild
@@ -37,6 +37,8 @@
# - fix paths in FILES section of man page + html doc
# Installed package is now 1/14 the size the old 2.9 package was.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=argtable
VERSION=${VERSION:-2.13}
SRCVER=${VERSION/./-}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}