From 72e55fbdacdf7dd67e5a44a931ed932645ee22b0 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 31 Dec 2013 13:46:48 -0800 Subject: [PATCH] move debug output patch to a quilt patch --- debian/patches/more_debug_output_during_build | 22 +++++++++++++++++++ scm/ps-to-png.scm | 1 - scripts/build/run-and-check.sh | 3 +-- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 debian/patches/more_debug_output_during_build diff --git a/debian/patches/more_debug_output_during_build b/debian/patches/more_debug_output_during_build new file mode 100644 index 0000000000..be24b23924 --- /dev/null +++ b/debian/patches/more_debug_output_during_build @@ -0,0 +1,22 @@ +--- lilypond-2.18.0.orig/scripts/build/run-and-check.sh ++++ lilypond-2.18.0/scripts/build/run-and-check.sh +@@ -7,7 +7,8 @@ + RetVal=$? # captures the return value of the command + if [ $RetVal -ne 0 ]; then + echo +- echo "Please check the logfile" $2 "for errors" ++ echo "Please check the logfile" $2 "for errors:" ++ cat $2 + echo + fi + exit $RetVal +--- lilypond-2.18.0.orig/scm/ps-to-png.scm ++++ lilypond-2.18.0/scm/ps-to-png.scm +@@ -132,6 +132,7 @@ + ~a\ + ~a\ + -dGraphicsAlphaBits=4\ ++ -q\ + -dTextAlphaBits=4\ + -dNOPAUSE\ + -sDEVICE=~a\ diff --git a/scm/ps-to-png.scm b/scm/ps-to-png.scm index d35e735dd0..948e56e145 100644 --- a/scm/ps-to-png.scm +++ b/scm/ps-to-png.scm @@ -132,7 +132,6 @@ ~a\ ~a\ -dGraphicsAlphaBits=4\ - -q\ -dTextAlphaBits=4\ -dNOPAUSE\ -sDEVICE=~a\ diff --git a/scripts/build/run-and-check.sh b/scripts/build/run-and-check.sh index af31f168f3..eb76aa7b40 100755 --- a/scripts/build/run-and-check.sh +++ b/scripts/build/run-and-check.sh @@ -7,8 +7,7 @@ eval $1 > $2 2>&1 RetVal=$? # captures the return value of the command if [ $RetVal -ne 0 ]; then echo - echo "Please check the logfile" $2 "for errors:" - cat $2 + echo "Please check the logfile" $2 "for errors" echo fi exit $RetVal -- 2.39.5