aboutsummaryrefslogtreecommitdiff
path: root/development/dfu-programmer
diff options
context:
space:
mode:
Diffstat (limited to 'development/dfu-programmer')
-rw-r--r--development/dfu-programmer/dfu-programmer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/dfu-programmer/dfu-programmer.SlackBuild b/development/dfu-programmer/dfu-programmer.SlackBuild
index 42e4ae409db5..d1ee461150f8 100644
--- a/development/dfu-programmer/dfu-programmer.SlackBuild
+++ b/development/dfu-programmer/dfu-programmer.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dfu-programmer.
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dfu-programmer
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}