diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-31 02:15:50 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-31 21:44:10 +0100 |
commit | b55e66b8c135729d3aa12390848e64532c423b83 (patch) | |
tree | dc7303334fe094c0a07bbe17288f37e1af0e140a | |
parent | c51341553212541cac8f584df27efdfb24c3374b (diff) | |
download | mkinitcpio-b55e66b8c135729d3aa12390848e64532c423b83.tar.gz mkinitcpio-b55e66b8c135729d3aa12390848e64532c423b83.tar.xz |
Move output functions to top of functions file
This makes a bit more organizational sense to keep these first before we
dive into the more complicated functions.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | functions | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,3 +1,6 @@ +msg () { [ "${QUIET}" = "n" ] && echo $@; } +err () { echo "ERROR: $@" >&2; } +die () { echo "FATAL: $@" >&2; cleanup; exit 1; } auto_modules () { @@ -38,10 +41,6 @@ checked_modules () fi } -msg () { [ "${QUIET}" = "n" ] && echo $@; } -err () { echo "ERROR: $@" >&2; } -die () { echo "FATAL: $@" >&2; cleanup; exit 1; } - add_full_dir () { if [ -n "${1}" -a -d "${1}" ]; then |