aboutsummaryrefslogtreecommitdiff
path: root/graphics/fbpic/fbpic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fbpic/fbpic.SlackBuild')
-rw-r--r--graphics/fbpic/fbpic.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/fbpic/fbpic.SlackBuild b/graphics/fbpic/fbpic.SlackBuild
index 1ea83e08c5e3c..7450123483b4b 100644
--- a/graphics/fbpic/fbpic.SlackBuild
+++ b/graphics/fbpic/fbpic.SlackBuild
@@ -8,6 +8,8 @@
# for years and nobody complained. Made it build, and use standard
# SLKCFLAGS.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbpic
VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-2}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}