aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpicview/gpicview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gpicview/gpicview.SlackBuild')
-rw-r--r--graphics/gpicview/gpicview.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index 13409fad1b78c..071f63d479f3f 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -3,6 +3,8 @@
# slackware build script for gpicview
# Written Evandro Alves Rodrigues evandrofisico@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpicview
VERSION=${VERSION:-0.2.5}
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}