[Libreoffice-commits] .: solenv/bin

Tor Lillqvist tml at kemper.freedesktop.org
Thu Jun 9 11:44:29 PDT 2011


 solenv/bin/checkdll.sh |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 43dca53e3acdc7013b4ff9ee399e36b0782c2be7
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Jun 9 21:44:03 2011 +0300

    Don't fail if we have no checkdll tool, for instance when cross-compiling

diff --git a/solenv/bin/checkdll.sh b/solenv/bin/checkdll.sh
index 0be97be..1cdf498 100755
--- a/solenv/bin/checkdll.sh
+++ b/solenv/bin/checkdll.sh
@@ -82,6 +82,14 @@ if [ -x $checkdll ]; then
     fi
 else
     echo "WARNING: checkdll not found!" 1>&2
+
+    for parameter in $*; do
+        library=$parameter;
+    done
+    realname=`echo $library | sed "s/check_//"`
+    if [ $library != $realname ]; then
+        mv $library $realname
+    fi
 fi
 
 exit 0


More information about the Libreoffice-commits mailing list