aboutsummaryrefslogtreecommitdiff
path: root/ham/soundmodem/soundmodem.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/soundmodem/soundmodem.SlackBuild')
-rw-r--r--ham/soundmodem/soundmodem.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/soundmodem/soundmodem.SlackBuild b/ham/soundmodem/soundmodem.SlackBuild
index b9de4426adf51..40e82ee1451bd 100644
--- a/ham/soundmodem/soundmodem.SlackBuild
+++ b/ham/soundmodem/soundmodem.SlackBuild
@@ -16,6 +16,8 @@
# wrong and prevent it from happening in the future.
# In which case, I may just send YOU five dollars.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=soundmodem
VERSION=${VERSION:-0.18}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}