summaryrefslogtreecommitdiff
path: root/tools/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/util.py')
-rw-r--r--tools/util.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/util.py b/tools/util.py
index 40c98e336..6874f8000 100644
--- a/tools/util.py
+++ b/tools/util.py
@@ -4,8 +4,9 @@ import os
import subprocess
-def run(args):
- print " ".join(args)
+def run(args, quiet=False):
+ if not quiet:
+ print " ".join(args)
env = os.environ.copy()
if os.name == "nt":
# Run through shell to make .bat/.cmd files work.