aboutsummaryrefslogtreecommitdiff
path: root/audio/foo-yc20/foo-yc20.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/foo-yc20/foo-yc20.SlackBuild')
-rw-r--r--audio/foo-yc20/foo-yc20.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/foo-yc20/foo-yc20.SlackBuild b/audio/foo-yc20/foo-yc20.SlackBuild
index 02c60c6208cd3..5422179e79305 100644
--- a/audio/foo-yc20/foo-yc20.SlackBuild
+++ b/audio/foo-yc20/foo-yc20.SlackBuild
@@ -9,6 +9,8 @@
# 20170621 bkw: Rework optimization options. Needed because -current's
# gcc7 requires massive amounts of memory to build this.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=foo-yc20
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-2}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}