aboutsummaryrefslogtreecommitdiff
path: root/games/haxima-nazghul/haxima-nazghul.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/haxima-nazghul/haxima-nazghul.SlackBuild')
-rw-r--r--games/haxima-nazghul/haxima-nazghul.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/haxima-nazghul/haxima-nazghul.SlackBuild b/games/haxima-nazghul/haxima-nazghul.SlackBuild
index 8087fbf934911..d6670897fe1fa 100644
--- a/games/haxima-nazghul/haxima-nazghul.SlackBuild
+++ b/games/haxima-nazghul/haxima-nazghul.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haxima-nazghul
SRCNAM=$(echo $PRGNAM | cut -c8-14)
VERSION=${VERSION:-0.7.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}