aboutsummaryrefslogtreecommitdiff
path: root/misc/protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'misc/protobuf')
-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 25819a0a99a23..807c7bbc7b3ef 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}