From fad37e50de9a606abbd05958f91a838e81938ac1 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Wed, 20 Jun 2012 13:31:56 +0000 Subject: [PATCH] fix die messages that have a newline die messages cannot have a newline or else the output message becomes: die "install aborted due to" \ which is not very user friendly --- bin/misc-functions.sh | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 564af85..902f103 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -773,16 +773,14 @@ install_qa_check() { fi if [[ ${abort} == "yes" ]] ; then if [[ $gentoo_bug = yes || $always_overflow = yes ]] ; then - die "install aborted due to" \ - "severe warnings shown above" + die "install aborted due to severe warnings shown above" else echo "Please do not file a Gentoo bug and instead" \ "report the above QA issues directly to the upstream" \ "developers of this software." | fmt -w 70 | \ while read -r line ; do eqawarn "${line}" ; done eqawarn "Homepage: ${HOMEPAGE}" - has stricter ${FEATURES} && die "install aborted due to" \ - "severe warnings shown above" + has stricter ${FEATURES} && die "install aborted due to severe warnings shown above" fi fi fi -- 1.7.3.4