summaryrefslogtreecommitdiffstats
path: root/graphics/rawstudio/rawstudio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rawstudio/rawstudio.SlackBuild')
-rw-r--r--graphics/rawstudio/rawstudio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild
index 4ce728464d..b3177677b0 100644
--- a/graphics/rawstudio/rawstudio.SlackBuild
+++ b/graphics/rawstudio/rawstudio.SlackBuild
@@ -28,6 +28,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms :-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="rawstudio"
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-3}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}