summaryrefslogtreecommitdiff
path: root/AppRun
diff options
context:
space:
mode:
authorLawnCable <lawncable.gitlab@simonlaux.de>2019-03-18 01:07:15 +0000
committerLawnCable <lawncable.gitlab@simonlaux.de>2019-03-18 01:07:15 +0000
commit36088635c31edd63b075dd0782ae018368b28052 (patch)
tree7d203b9a0acf2045698ef64bb72ae92fdfad7572 /AppRun
parent0ef81abe2fca26be930159c41125aea7ce5af52e (diff)
downloadappimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.gz
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.bz2
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.tar.xz
appimg-builder-36088635c31edd63b075dd0782ae018368b28052.zip
Change working directory to solve #2
Diffstat (limited to 'AppRun')
-rwxr-xr-xAppRun5
1 files changed, 4 insertions, 1 deletions
diff --git a/AppRun b/AppRun
index c39dead..53bb940 100755
--- a/AppRun
+++ b/AppRun
@@ -1,3 +1,6 @@
#!/bin/bash
-$APPDIR/usr/bin/manaplus -d "${APPDIR}/data" $@ \ No newline at end of file
+# change working dir, so that is next to the data directory
+cd $APPDIR
+
+$APPDIR/usr/bin/manaplus $@ \ No newline at end of file