[Libreoffice-commits] .: solenv/bin
Tor Lillqvist
tml at kemper.freedesktop.org
Wed Mar 30 04:41:30 PDT 2011
solenv/bin/striplanguagetags.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 3568c1db6ad2715c37005f9625c81e6d018c0fdb
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Wed Mar 30 14:40:04 2011 +0300
Move code inserted in previous commit to correct place
diff --git a/solenv/bin/striplanguagetags.sh b/solenv/bin/striplanguagetags.sh
index 9216a09..a883479 100755
--- a/solenv/bin/striplanguagetags.sh
+++ b/solenv/bin/striplanguagetags.sh
@@ -9,15 +9,15 @@
tempfoo=`basename $0`
XSL=`mktemp /tmp/${tempfoo}.XXXXXX`
+if [ $? -ne 0 ]; then
+ echo "$0: Can't create temp file, exiting..."
+ exit 1
+fi
# On Windows, xsltproc is a non-Cygwin program, so we can't pass
# a Cygwin /tmp path to it
[ "$COM" == MSC ] && XSL=`cygpath -m -s $XSL`
-if [ $? -ne 0 ]; then
- echo "$0: Can't create temp file, exiting..."
- exit 1
-fi
WRKDIR=`mktemp -d /tmp/${tempfoo}.XXXXXX`
if [ $? -ne 0 ]; then
echo "$0: Can't create temp dir, exiting..."
More information about the Libreoffice-commits
mailing list