summarylogtreecommitdiffstats
path: root/megamek.sh
diff options
context:
space:
mode:
Diffstat (limited to 'megamek.sh')
-rw-r--r--megamek.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/megamek.sh b/megamek.sh
index b4b2a9e6517c..6f5c20a1b887 100644
--- a/megamek.sh
+++ b/megamek.sh
@@ -14,4 +14,6 @@ fi
rsync -avc /usr/lib/mekhq/ "$conf/"
-exec env MEGAMEK_CONFPATH="$conf" "$conf/mm-startup.sh"
+cd "$conf"
+
+exec env MEGAMEK_CONFPATH="$conf" "$conf/mm-startup"