Permalink
Browse files

show python/java defaults only in debug mode

  • Loading branch information...
kripken committed Dec 26, 2012
1 parent aab26ad commit 63e61eb21ece44ef7a34d4506f8fb158bafc45f6
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/shared.py
View
@@ -328,13 +328,13 @@ def clean_temp():
try:
PYTHON
except:
- print >> sys.stderr, 'PYTHON not defined in ~/.emscripten, using "python"'
+ if DEBUG: print >> sys.stderr, 'PYTHON not defined in ~/.emscripten, using "python"'
PYTHON = 'python'
try:
JAVA
except:
- print >> sys.stderr, 'JAVA not defined in ~/.emscripten, using "java"'
+ if DEBUG: print >> sys.stderr, 'JAVA not defined in ~/.emscripten, using "java"'
JAVA = 'java'
# Additional compiler options

0 comments on commit 63e61eb

Please sign in to comment.