diff options
author | joey <joey> | 1999-08-17 04:45:36 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:45:36 +0000 |
commit | 3486d848644af197ded8a7e8d8c533dc30a5e574 (patch) | |
tree | 8df23969a7ed46d09bc004bad87416c1ee830b57 /dh_lib | |
parent | 17f711b58fbe60225ed2c63609042bcd548fc43d (diff) | |
download | debhelper-3486d848644af197ded8a7e8d8c533dc30a5e574.tar.gz |
r54: Initial Import
Diffstat (limited to 'dh_lib')
-rw-r--r-- | dh_lib | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -9,7 +9,9 @@ # involving redirection. Use complex_doit instead. doit() { verbose_echo "$@" - eval '$@' + if [ ! "$DH_NO_ACT" ]; then + eval '$@' + fi } @@ -17,7 +19,9 @@ doit() { # are evaled with double quotes. This version can handle compound commands. complex_doit() { verbose_echo "$@" - eval "$@" + if [ ! "$DH_NO_ACT" ]; then + eval "$@" + fi } # Echo something if the verbose flag is on. |