From 2b834b54fbe4bac76c2cc0d35896d34fd46df8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 11 Jun 2015 06:29:47 +0200 Subject: [PATCH] enable debug start scripts --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 268396892b..7f4a774036 100644 --- a/Makefile +++ b/Makefile @@ -392,7 +392,11 @@ install-linux-appdata: install-linux-scripts: @echo "#!/bin/sh" > openra @echo 'cd "$(gameinstalldir)"' >> openra +ifeq ($(DEBUG), $(filter $(DEBUG),false no n off 0)) @echo 'mono OpenRA.Game.exe "$$@"' >> openra +else + @echo 'mono --debug OpenRA.Game.exe "$$@"' >> openra +endif @echo 'if [ $$? != 0 -a $$? != 1 ]' >> openra @echo 'then' >> openra @echo 'ZENITY=`which zenity` || echo "OpenRA needs zenity installed to display a graphical error dialog. See ~/.openra. for log files."' >> openra