summaryrefslogtreecommitdiffstats
path: root/audio/rubyripper/rubyripper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rubyripper/rubyripper.SlackBuild')
-rw-r--r--audio/rubyripper/rubyripper.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/rubyripper/rubyripper.SlackBuild b/audio/rubyripper/rubyripper.SlackBuild
index 47a64012ba..74ab9da9a4 100644
--- a/audio/rubyripper/rubyripper.SlackBuild
+++ b/audio/rubyripper/rubyripper.SlackBuild
@@ -5,6 +5,8 @@
# Updated 2010, by Vincent Batts (vbatts [at] hashbangbash [dot] com)
# Updated 2015, by Dugan Chen (thedoogster [at] gmail [dot] com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubyripper
VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}