aboutsummaryrefslogtreecommitdiff
path: root/games/arx-libertatis/arx-libertatis.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/arx-libertatis/arx-libertatis.SlackBuild')
-rw-r--r--games/arx-libertatis/arx-libertatis.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/arx-libertatis/arx-libertatis.SlackBuild b/games/arx-libertatis/arx-libertatis.SlackBuild
index d3c5a3cb795c7..d81d363749d24 100644
--- a/games/arx-libertatis/arx-libertatis.SlackBuild
+++ b/games/arx-libertatis/arx-libertatis.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=arx-libertatis
VERSION=${VERSION:-1.2_dev_2019_07_22}
SRCVER=$(echo $VERSION | tr _ - )
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}