summaryrefslogtreecommitdiffstats
path: root/system/mtftar/mtftar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mtftar/mtftar.SlackBuild')
-rw-r--r--system/mtftar/mtftar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/mtftar/mtftar.SlackBuild b/system/mtftar/mtftar.SlackBuild
index 1160849c9c..5541d2aa49 100644
--- a/system/mtftar/mtftar.SlackBuild
+++ b/system/mtftar/mtftar.SlackBuild
@@ -7,6 +7,8 @@
# Concepts in this script taken from the slackbuilds.org template.
# Do what you will with this script but give credit where credit is due.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mtftar
VERSION=${VERSION:-20070205}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}