aboutsummaryrefslogtreecommitdiff
path: root/graphics/mypaint/mypaint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mypaint/mypaint.SlackBuild')
-rw-r--r--graphics/mypaint/mypaint.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild
index 6c1a3420c384e..f49b6ef6ea477 100644
--- a/graphics/mypaint/mypaint.SlackBuild
+++ b/graphics/mypaint/mypaint.SlackBuild
@@ -11,6 +11,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mypaint
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}