summaryrefslogtreecommitdiffstats
path: root/misc/protobuf/protobuf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/protobuf/protobuf.SlackBuild')
-rw-r--r--misc/protobuf/protobuf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/protobuf/protobuf.SlackBuild b/misc/protobuf/protobuf.SlackBuild
index 25819a0a99..807c7bbc7b 100644
--- a/misc/protobuf/protobuf.SlackBuild
+++ b/misc/protobuf/protobuf.SlackBuild
@@ -4,6 +4,8 @@
# Written by M.Dinslage (daedra1980@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=protobuf
VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}