summaryrefslogtreecommitdiffstats
path: root/games/hnefatafl/hnefatafl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/hnefatafl/hnefatafl.SlackBuild')
-rw-r--r--games/hnefatafl/hnefatafl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/hnefatafl/hnefatafl.SlackBuild b/games/hnefatafl/hnefatafl.SlackBuild
index e38519f261..ef52e9770f 100644
--- a/games/hnefatafl/hnefatafl.SlackBuild
+++ b/games/hnefatafl/hnefatafl.SlackBuild
@@ -17,6 +17,8 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hnefatafl
VERSION=${VERSION:-140617}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}