summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-03-26 10:41:42 +0100
committerDaniel Baumann <daniel@debian.org>2008-03-26 10:41:42 +0100
commit6204d9a8ba89cc566ac77f2056b189658092f44e (patch)
treeaa6b1f47ae52be7b963866e6bc9cf72234496b2e /functions
parent58544b017bbfb0c70ad5d289df7b10c162f1184f (diff)
downloadvyos-live-build-6204d9a8ba89cc566ac77f2056b189658092f44e.tar.gz
vyos-live-build-6204d9a8ba89cc566ac77f2056b189658092f44e.zip
Applying patch from Bas Wijnen <wijnen@debian.org> to correct error messages in Require_stagefile (Closes: #472774).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/stagefile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/stagefile.sh b/functions/stagefile.sh
index 810279bd2..a098a49b5 100755
--- a/functions/stagefile.sh
+++ b/functions/stagefile.sh
@@ -62,9 +62,9 @@ Require_stagefile ()
then
if [ "${NUMBER}" -eq 1 ]
then
- Echo_error "${NAME} missing"
+ Echo_error "${NAME}: ${FILE} missing"
else
- Echo_error "one of ${NAME} is missing"
+ Echo_error "${NAME}: one of ${FILES} is missing"
fi
exit 1