aboutsummaryrefslogtreecommitdiff
path: root/system/rar/rar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rar/rar.SlackBuild')
-rw-r--r--system/rar/rar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/rar/rar.SlackBuild b/system/rar/rar.SlackBuild
index ffa6a03e366c..eebecd183990 100644
--- a/system/rar/rar.SlackBuild
+++ b/system/rar/rar.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com>
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rar
VERSION=${VERSION:-5.5.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}