aboutsummaryrefslogtreecommitdiff
path: root/office/lyx/lyx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/lyx/lyx.SlackBuild')
-rw-r--r--office/lyx/lyx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index 45683c0cf0e26..2892ae2d9612e 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -4,6 +4,8 @@
# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
# Now maintained by R. S. Ananda Murthy (rsamurti@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lyx
VERSION=${VERSION:-2.3.6.1}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}