summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions7
1 files changed, 3 insertions, 4 deletions
diff --git a/functions b/functions
index ef066ba..584fe0d 100644
--- a/functions
+++ b/functions
@@ -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