diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-07 01:09:40 +0200 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-16 22:16:47 +0200 |
commit | fae6f29b149e343bd638e67f25a6a1001ca37fb0 (patch) | |
tree | 33c3e99abd0a78eb4b857cc9528a7d709b74195f /functions | |
parent | 28b191ea76efc0f8c39bc9159cdc10b72ddf8740 (diff) | |
download | mkinitcpio-fae6f29b149e343bd638e67f25a6a1001ca37fb0.tar.gz mkinitcpio-fae6f29b149e343bd638e67f25a6a1001ca37fb0.tar.xz |
declare SAVELIST, QUIET, SHOW_AUTOMODS as faux booleans
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -msg () { [ "${QUIET}" = "n" ] && echo $@; } +msg () { (( QUIET )) || echo $@; } err () { echo "ERROR: $@" >&2; } die () { echo "FATAL: $@" >&2; cleanup; exit 1; } |