aboutsummaryrefslogtreecommitdiff
path: root/system/tarsnap/tarsnap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tarsnap/tarsnap.SlackBuild')
-rw-r--r--system/tarsnap/tarsnap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/tarsnap/tarsnap.SlackBuild b/system/tarsnap/tarsnap.SlackBuild
index 4e84c88034109..c11ba4232aefd 100644
--- a/system/tarsnap/tarsnap.SlackBuild
+++ b/system/tarsnap/tarsnap.SlackBuild
@@ -20,6 +20,8 @@
## The Tarsnap client itself remains a copyrighted work.
## Please see the file COPYING in the Tarsnap source distribution.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tarsnap
VERSION=${VERSION:-1.0.39}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}