summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-06-18 21:55:43 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-06-18 21:55:43 +0200
commit259e52b59cbf7b5d401825b6aa789585ccbb4085 (patch)
treee0dac929dcc5593a5ff9790a07ddbee793ae7fc8 /templates
parent7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb (diff)
downloadplay-259e52b59cbf7b5d401825b6aa789585ccbb4085.tar.gz
play-259e52b59cbf7b5d401825b6aa789585ccbb4085.tar.bz2
play-259e52b59cbf7b5d401825b6aa789585ccbb4085.zip
Disable WINEDEBUG only if not running in debug mode
Diffstat (limited to 'templates')
-rw-r--r--templates/default2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default b/templates/default
index fe737b1..3f4fa1f 100644
--- a/templates/default
+++ b/templates/default
@@ -4,7 +4,7 @@ default_prepare () {
play_prepare
}
-ENV[WINEDEBUG]="-all"
+[[ $PLAY_DEBUG == 0 ]] && ENV[WINEDEBUG]="-all"
EXPORT default prepare