aboutsummaryrefslogtreecommitdiff
path: root/ham/linpsk/linpsk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/linpsk/linpsk.SlackBuild')
-rw-r--r--ham/linpsk/linpsk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/linpsk/linpsk.SlackBuild b/ham/linpsk/linpsk.SlackBuild
index 8d97c8e83c948..3fa243141e145 100644
--- a/ham/linpsk/linpsk.SlackBuild
+++ b/ham/linpsk/linpsk.SlackBuild
@@ -20,6 +20,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=linpsk
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-2}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}