aboutsummaryrefslogtreecommitdiff
path: root/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild')
-rw-r--r--games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild b/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild
index a7d628124d5c6..f524276ea3c53 100644
--- a/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.SlackBuild
+++ b/games/zelda-xd2-mercuris-chess/zelda-xd2-mercuris-chess.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=zelda-xd2-mercuris-chess
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}