aboutsummaryrefslogtreecommitdiff
path: root/games/xmahjongg/xmahjongg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmahjongg/xmahjongg.SlackBuild')
-rw-r--r--games/xmahjongg/xmahjongg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/xmahjongg/xmahjongg.SlackBuild b/games/xmahjongg/xmahjongg.SlackBuild
index 1364d9b00b620..865873c967d7a 100644
--- a/games/xmahjongg/xmahjongg.SlackBuild
+++ b/games/xmahjongg/xmahjongg.SlackBuild
@@ -21,6 +21,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=xmahjongg
VERSION=${VERSION:-3.7}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}