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