aboutsummaryrefslogtreecommitdiff
path: root/system/pmount/pmount.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pmount/pmount.SlackBuild')
-rw-r--r--system/pmount/pmount.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild
index 909c82e83a3ef..9cd97b6acb916 100644
--- a/system/pmount/pmount.SlackBuild
+++ b/system/pmount/pmount.SlackBuild
@@ -26,6 +26,8 @@
# Contains modifications by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms added.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pmount
VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}