summaryrefslogtreecommitdiffstats
path: root/development/srecord
diff options
context:
space:
mode:
Diffstat (limited to 'development/srecord')
-rw-r--r--development/srecord/srecord.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/srecord/srecord.SlackBuild b/development/srecord/srecord.SlackBuild
index 1bd50bbff0..8f13492451 100644
--- a/development/srecord/srecord.SlackBuild
+++ b/development/srecord/srecord.SlackBuild
@@ -10,6 +10,8 @@
# URL. Turns out the short URL on the main site will disappear whenever
# there's a new release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=srecord
VERSION=${VERSION:-1.64}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}