aboutsummaryrefslogtreecommitdiff
path: root/network/thrift/thrift.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/thrift/thrift.SlackBuild')
-rw-r--r--network/thrift/thrift.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild
index 6bd86dba16a3f..efe5d0a4699f3 100644
--- a/network/thrift/thrift.SlackBuild
+++ b/network/thrift/thrift.SlackBuild
@@ -16,6 +16,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thrift
VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}