aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgig/libgig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgig/libgig.SlackBuild')
-rw-r--r--libraries/libgig/libgig.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libgig/libgig.SlackBuild b/libraries/libgig/libgig.SlackBuild
index fab4fb5e56db3..c2ac5b47aed31 100644
--- a/libraries/libgig/libgig.SlackBuild
+++ b/libraries/libgig/libgig.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgig
VERSION=${VERSION:-4.2.0}
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}