summaryrefslogtreecommitdiffstats
path: root/system/csh/csh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/csh/csh.SlackBuild')
-rw-r--r--system/csh/csh.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/csh/csh.SlackBuild b/system/csh/csh.SlackBuild
index 09e6001ab6..597a5bd344 100644
--- a/system/csh/csh.SlackBuild
+++ b/system/csh/csh.SlackBuild
@@ -11,6 +11,8 @@
# - quit compiling with -Werror (also needed for -current).
# - BUILD=2.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=csh
VERSION=${VERSION:-20110502}
BUILD=${BUILD:-2}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}