summaryrefslogtreecommitdiffstats
path: root/graphics/scrot/scrot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scrot/scrot.SlackBuild')
-rw-r--r--graphics/scrot/scrot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index d8219bb597..443d88c7eb 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -26,6 +26,8 @@
set -e
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scrot
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-4}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}