summaryrefslogtreecommitdiffstats
path: root/system/tmpwatch/tmpwatch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tmpwatch/tmpwatch.SlackBuild')
-rw-r--r--system/tmpwatch/tmpwatch.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tmpwatch/tmpwatch.SlackBuild b/system/tmpwatch/tmpwatch.SlackBuild
index 9d6e3853bd..a2a34633af 100644
--- a/system/tmpwatch/tmpwatch.SlackBuild
+++ b/system/tmpwatch/tmpwatch.SlackBuild
@@ -8,6 +8,8 @@
# I am not responsible for any consequences that follow from the
# incorrect use of this script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tmpwatch
VERSION=${VERSION:-2.11}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}