solenv/bin/striplanguagetags.sh |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 02edfcaddf1a06775eab01ef742bb9eff640949b
Author: Eike Rathke <[email protected]>
Date:   Wed Jan 16 19:18:11 2013 +0100

    check if $CALLXSLTPROC is defined and bail out if not
    
    Change-Id: I2cbaffc35699942318b24492d02cf06397740009

diff --git a/solenv/bin/striplanguagetags.sh b/solenv/bin/striplanguagetags.sh
index 4734306..0df4b0b 100755
--- a/solenv/bin/striplanguagetags.sh
+++ b/solenv/bin/striplanguagetags.sh
@@ -14,6 +14,12 @@
 #
 # All a bit hacky, but it should work
 
+if [ -z "$CALLXSLTPROC" ]; then
+    echo "$0: \$CALLXSLTPROC not defined!"
+    echo "$0: Apparently we are not called from the build process, bailing 
out."
+    exit 1
+fi
+
 tempfoo=`basename $0`
 
 XSL=`mktemp /tmp/${tempfoo}.XXXXXX`
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to