aboutsummaryrefslogtreecommitdiff
path: root/system/fdupes
diff options
context:
space:
mode:
Diffstat (limited to 'system/fdupes')
-rw-r--r--system/fdupes/fdupes.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild
index f7157a1ca38e..bf1143776bd5 100644
--- a/system/fdupes/fdupes.SlackBuild
+++ b/system/fdupes/fdupes.SlackBuild
@@ -29,6 +29,8 @@
# 19/06/2011 - Updated to version 1.50-PR2
# 30/01/2019 - Updated to version 1.6.1, i486 -> i586
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fdupes
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}