aboutsummaryrefslogtreecommitdiff
path: root/development/uncrustify/uncrustify.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/uncrustify/uncrustify.SlackBuild')
-rw-r--r--development/uncrustify/uncrustify.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/uncrustify/uncrustify.SlackBuild b/development/uncrustify/uncrustify.SlackBuild
index 93c313e989894..6e79841d13c45 100644
--- a/development/uncrustify/uncrustify.SlackBuild
+++ b/development/uncrustify/uncrustify.SlackBuild
@@ -4,6 +4,8 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uncrustify
VERSION=${VERSION:-0.72.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}