summaryrefslogtreecommitdiffstats
path: root/system/iscan/iscan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/iscan/iscan.SlackBuild')
-rw-r--r--system/iscan/iscan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/iscan/iscan.SlackBuild b/system/iscan/iscan.SlackBuild
index 6630c71ff4..08e3e6144a 100644
--- a/system/iscan/iscan.SlackBuild
+++ b/system/iscan/iscan.SlackBuild
@@ -24,6 +24,8 @@
# Shamelessly ripped from Alien Bob's script: thank him for all the hard work!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iscan
VERSION=${VERSION:-2.30.4}
ADDVER=${ADDVER:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}