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