aboutsummaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kphotoalbum/kphotoalbum.SlackBuild')
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index fe788b052cad0..6c71bff33780e 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for kphotoalbum
# By default the demo pictures and movie are packaged.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kphotoalbum
VERSION=${VERSION:-5.7.0}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}