aboutsummaryrefslogtreecommitdiff
path: root/games/waterCloset/waterCloset.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/waterCloset/waterCloset.SlackBuild')
-rw-r--r--games/waterCloset/waterCloset.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/waterCloset/waterCloset.SlackBuild b/games/waterCloset/waterCloset.SlackBuild
index 045b2ef04fb2..b639dd7562d2 100644
--- a/games/waterCloset/waterCloset.SlackBuild
+++ b/games/waterCloset/waterCloset.SlackBuild
@@ -9,6 +9,8 @@
# fix doc dir for slackware defaults.
# 06/02/2020. version 1.0 first major "full" version.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=waterCloset
GITNAM=wc
VERSION=${VERSION:-1.0}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}