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


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to