r6070 - packages/trunk/game-package

Jon Dowland jmtd-guest at alioth.debian.org
Sat Mar 15 14:34:13 UTC 2008


Author: jmtd-guest
Date: 2008-03-15 14:34:13 +0000 (Sat, 15 Mar 2008)
New Revision: 6070

Modified:
   packages/trunk/game-package/game-package
Log:
only print debug statements if DEBUG is defined

Modified: packages/trunk/game-package/game-package
===================================================================
--- packages/trunk/game-package/game-package	2008-03-15 14:30:00 UTC (rev 6069)
+++ packages/trunk/game-package/game-package	2008-03-15 14:34:13 UTC (rev 6070)
@@ -40,7 +40,9 @@
 	options
 }
 
-DEBUG="TRUE"
+if set | grep -v ^DEBUG= >/dev/null; then
+	DEBUG=""
+fi
 debug() {
 	if [ -n "$DEBUG" ]; then
 		echo "DEBUG: $*" >&2




More information about the Pkg-games-commits mailing list