aboutsummaryrefslogtreecommitdiff
path: root/system/dfu-util
diff options
context:
space:
mode:
Diffstat (limited to 'system/dfu-util')
-rw-r--r--system/dfu-util/dfu-util.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/dfu-util/dfu-util.SlackBuild b/system/dfu-util/dfu-util.SlackBuild
index dbd7090c18685..d296765d80ddf 100644
--- a/system/dfu-util/dfu-util.SlackBuild
+++ b/system/dfu-util/dfu-util.SlackBuild
@@ -3,6 +3,8 @@
# Written by Damien Durand <splinux25@gmail.com>
# From 2018, maintained by Christoph Willing <chris.willing@linux.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dfu-util
VERSION=${VERSION:-0.10}
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}