aboutsummaryrefslogtreecommitdiff
path: root/system/partimage/partimage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/partimage/partimage.SlackBuild')
-rw-r--r--system/partimage/partimage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/partimage/partimage.SlackBuild b/system/partimage/partimage.SlackBuild
index 2160e796ffcf..6772ecb45b73 100644
--- a/system/partimage/partimage.SlackBuild
+++ b/system/partimage/partimage.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=partimage
VERSION=${VERSION:-0.6.9}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}