aboutsummaryrefslogtreecommitdiff
path: root/graphics/shutter/shutter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/shutter/shutter.SlackBuild')
-rw-r--r--graphics/shutter/shutter.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/shutter/shutter.SlackBuild b/graphics/shutter/shutter.SlackBuild
index f683da14dde8..1a84f9cb416f 100644
--- a/graphics/shutter/shutter.SlackBuild
+++ b/graphics/shutter/shutter.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shutter
VERSION=${VERSION:-0.94.3}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}