summaryrefslogtreecommitdiffstats
path: root/games/manaplus/manaplus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/manaplus/manaplus.SlackBuild')
-rw-r--r--games/manaplus/manaplus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/manaplus/manaplus.SlackBuild b/games/manaplus/manaplus.SlackBuild
index 892f282445..d374c54bcb 100644
--- a/games/manaplus/manaplus.SlackBuild
+++ b/games/manaplus/manaplus.SlackBuild
@@ -20,6 +20,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=manaplus
VERSION=${VERSION:-1.9.3.23}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}