[Libreoffice-commits] .: patches/dev300

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Mon Mar 7 06:25:03 PST 2011


 patches/dev300/extractapplyinfo.awk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4345b801c95cbff319bd69be844a98488bef3bfd
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Mon Mar 7 15:24:55 2011 +0100

    fixing early bailout when no env is set

diff --git a/patches/dev300/extractapplyinfo.awk b/patches/dev300/extractapplyinfo.awk
index 9afe3f0..4d4d579 100644
--- a/patches/dev300/extractapplyinfo.awk
+++ b/patches/dev300/extractapplyinfo.awk
@@ -65,7 +65,8 @@ BEGIN {
 		if (issues !="")
 			shortmessage = issues ": " shortmessage
 		print "#!/bin/bash"
-		print "[ -n ${SOLARSRC} ] || (echo \"no environment set!\" >2 && false)"
+		print "set -e"
+		print "[ -n ${SOLARSRC} ] || (echo \"no environment set!\" >&2 && false)"
 		print "cd ${SOLARSRC}"
 		print "MESSAGEFILE=`mktemp`"
 		print "cat > ${MESSAGEFILE} <<\"ENDOFAUTOMATEDLOGMESSAGE\""


More information about the Libreoffice-commits mailing list