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>2011-03-09 19:03:31 +0100
commitd54990695f334d205fa846c42b6e0f2afd3c47f5 (patch)
treeaa6b1f47ae52be7b963866e6bc9cf72234496b2e /functions
parent53433eca7db9ea74778c7e0f6a112856e96d2665 (diff)
downloadvyos-live-build-d54990695f334d205fa846c42b6e0f2afd3c47f5.tar.gz
vyos-live-build-d54990695f334d205fa846c42b6e0f2afd3c47f5.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