aboutsummaryrefslogtreecommitdiff
path: root/misc/fbdump/fbdump.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fbdump/fbdump.SlackBuild')
-rw-r--r--misc/fbdump/fbdump.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/fbdump/fbdump.SlackBuild b/misc/fbdump/fbdump.SlackBuild
index 12b945910f0e2..11e4b7d75e3b7 100644
--- a/misc/fbdump/fbdump.SlackBuild
+++ b/misc/fbdump/fbdump.SlackBuild
@@ -42,6 +42,8 @@
# framebuffer format these days. Compiling with lots of optimizations
# doesn't seem to help (even switching from gcc to clang).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbdump
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-2}
@@ -55,7 +57,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}