summaryrefslogtreecommitdiffstats
path: root/system/crc32_simple/crc32_simple.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/crc32_simple/crc32_simple.SlackBuild')
-rw-r--r--system/crc32_simple/crc32_simple.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/crc32_simple/crc32_simple.SlackBuild b/system/crc32_simple/crc32_simple.SlackBuild
index 788f8b6223..0913dcefac 100644
--- a/system/crc32_simple/crc32_simple.SlackBuild
+++ b/system/crc32_simple/crc32_simple.SlackBuild
@@ -12,6 +12,8 @@
# VERSION is from the timestamp on the source file.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=crc32_simple
VERSION=${VERSION:-20120911}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}