summaryrefslogtreecommitdiffstats
path: root/development/xemacs/xemacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/xemacs/xemacs.SlackBuild')
-rw-r--r--development/xemacs/xemacs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/xemacs/xemacs.SlackBuild b/development/xemacs/xemacs.SlackBuild
index b1aa994db7..018d4f0199 100644
--- a/development/xemacs/xemacs.SlackBuild
+++ b/development/xemacs/xemacs.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org> for
# better consistency with existing SBo scripts...
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xemacs
VERSION=${VERSION:-21.5.34}
SRCVER=21.5-b34
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}