aboutsummaryrefslogtreecommitdiff
path: root/audio/qmidiarp/qmidiarp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/qmidiarp/qmidiarp.SlackBuild')
-rw-r--r--audio/qmidiarp/qmidiarp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/qmidiarp/qmidiarp.SlackBuild b/audio/qmidiarp/qmidiarp.SlackBuild
index 9261fb813ee7e..f3033564a0ada 100644
--- a/audio/qmidiarp/qmidiarp.SlackBuild
+++ b/audio/qmidiarp/qmidiarp.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qmidiarp
VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}