summaryrefslogtreecommitdiffstats
path: root/system/foremost/foremost.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/foremost/foremost.SlackBuild')
-rw-r--r--system/foremost/foremost.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/foremost/foremost.SlackBuild b/system/foremost/foremost.SlackBuild
index 5be0336da3..ddfa887479 100644
--- a/system/foremost/foremost.SlackBuild
+++ b/system/foremost/foremost.SlackBuild
@@ -3,6 +3,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# Edited by Barry J. Grundy <bgrundy[at]linuxleo[dot]com November 2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=foremost
VERSION=${VERSION:-1.5.7}
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}