Add a -x option that just passes -x to the subshell.

This is often more useful than -v, since it prints the actual commands being
executed, not just the lines being input from the script.
This commit is contained in:
Avery Pennarun 2010-11-21 06:35:52 -08:00
commit 6b0da1fda0
3 changed files with 9 additions and 2 deletions

View file

@ -7,6 +7,7 @@ DEPTH = os.environ.get('REDO_DEPTH', '')
DEBUG = atoi.atoi(os.environ.get('REDO_DEBUG', ''))
DEBUG_LOCKS = os.environ.get('REDO_DEBUG_LOCKS', '') and 1 or 0
VERBOSE = os.environ.get('REDO_VERBOSE', '') and 1 or 0
XTRACE = os.environ.get('REDO_XTRACE', '') and 1 or 0
SHUFFLE = os.environ.get('REDO_SHUFFLE', '') and 1 or 0
STARTDIR = os.environ['REDO_STARTDIR']
BASE = os.environ['REDO_BASE']