summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/a/bash/bash.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/a/bash/bash.SlackBuild')
-rwxr-xr-xslackware64-current/source/a/bash/bash.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/slackware64-current/source/a/bash/bash.SlackBuild b/slackware64-current/source/a/bash/bash.SlackBuild
index 62ddbefdc..75d9a809a 100755
--- a/slackware64-current/source/a/bash/bash.SlackBuild
+++ b/slackware64-current/source/a/bash/bash.SlackBuild
@@ -22,9 +22,8 @@
# Modified 2011, 2012 by Eric Hameleers <alien at slackware.com> for ARM port.
-
# Set initial variables:
-CWD=$(pwd)
+cd $(dirname $0) ; CWD=$(pwd)
if [ "$TMP" = "" ]; then
TMP=/tmp
fi