aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdists/gcw0/scummvm.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/dists/gcw0/scummvm.sh b/dists/gcw0/scummvm.sh
index 7d8c38901c..30b8a6e78d 100755
--- a/dists/gcw0/scummvm.sh
+++ b/dists/gcw0/scummvm.sh
@@ -6,4 +6,8 @@ if [ ! -f $HOME/.scummvmrc ] ; then
cp ./scummvmrc $HOME/.scummvmrc
fi
-exec ./scummvm -d 11 2>&1 >/var/tmp/scummvm.log
+if [ ! -f $HOME/.debug_scummvmrc ] ; then
+ exec ./scummvm 2>&1 >/var/tmp/scummvm.log
+else
+ exec ./scummvm -d 11 2>&1 >/var/tmp/scummvm.log
+fi