summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-21 08:32:47 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-21 08:32:47 +0100
commit8afa6ad6f0b7fecade1353a89b958e34bda11eee (patch)
tree199487a12b64ab579ded5e154c1cebcc1d6a6955
parent76d325893fa38fe98b544e30bbdca86b6ef550f4 (diff)
downloadmkinitcpio-0.5.22.tar.gz
mkinitcpio-0.5.22.tar.xz
Change initial output when running a dry-run0.5.22
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmkinitcpio6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkinitcpio b/mkinitcpio
index 19c8757..565d267 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -221,7 +221,11 @@ if [ "${SHOW_AUTOMODS}" = "y" ]; then
exit 0
fi
-echo ":: Begin build"
+if [ -n "${GENIMG}" ]; then
+ echo ":: Begin dry run"
+else
+ echo ":: Begin build"
+fi
#parse 'global' hook, as defined in ${CONFIG}
parse_hook