aboutsummaryrefslogtreecommitdiff
path: root/system/incron/incron.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/incron/incron.SlackBuild')
-rw-r--r--system/incron/incron.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/incron/incron.SlackBuild b/system/incron/incron.SlackBuild
index 859b675e858d..9edafc2e81e8 100644
--- a/system/incron/incron.SlackBuild
+++ b/system/incron/incron.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Modified 2017 by Marek Srejma <sam_web@yahoo.de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=incron
VERSION=${VERSION:-0.6.0}
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}