aboutsummaryrefslogtreecommitdiff
path: root/system/schedtool/schedtool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/schedtool/schedtool.SlackBuild')
-rw-r--r--system/schedtool/schedtool.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/schedtool/schedtool.SlackBuild b/system/schedtool/schedtool.SlackBuild
index dd661a92ed540..370b19eb60ca2 100644
--- a/system/schedtool/schedtool.SlackBuild
+++ b/system/schedtool/schedtool.SlackBuild
@@ -5,6 +5,8 @@
# Written by Dave Margell (dmargell@gmail.com)
# Thanks to Robby Workman for help with the Makefile patch.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=schedtool
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}