aboutsummaryrefslogtreecommitdiff
path: root/system/fdclone/fdclone.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fdclone/fdclone.SlackBuild')
-rw-r--r--system/fdclone/fdclone.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/fdclone/fdclone.SlackBuild b/system/fdclone/fdclone.SlackBuild
index ef68973a4f88..ccada3726945 100644
--- a/system/fdclone/fdclone.SlackBuild
+++ b/system/fdclone/fdclone.SlackBuild
@@ -11,6 +11,8 @@
# pages as "fdclone", not "fd", because SBo already has an "fd". I
# also don't see the point of the stub fdsh man page.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fdclone
SRCNAM=FD
VERSION=${VERSION:-3.01j}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}