aboutsummaryrefslogtreecommitdiff
path: root/system/scalpel/scalpel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/scalpel/scalpel.SlackBuild')
-rw-r--r--system/scalpel/scalpel.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/scalpel/scalpel.SlackBuild b/system/scalpel/scalpel.SlackBuild
index 07d697f36a285..edf33ddfd9a42 100644
--- a/system/scalpel/scalpel.SlackBuild
+++ b/system/scalpel/scalpel.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for scalpel
# Written by klaatu at member dot fsf dot org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scalpel
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}