[Libreoffice-commits] .: configure.in

Robert Nagy rnagy at kemper.freedesktop.org
Tue Nov 9 09:51:13 PST 2010


 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 96343c9ae1e53231f09df4828e88a1aad1228ad2
Author: Robert Nagy <robert at openbsd.org>
Date:   Tue Nov 9 18:50:20 2010 +0100

    Use a pettern matching instead of ${DISTRO:0:11}.
    
    Use a pettern matching instead of ${DISTRO:0:11} which is
    bashism.
    This has been tested and discussed with several people.

diff --git a/configure.in b/configure.in
index 05cb229..c34196e 100755
--- a/configure.in
+++ b/configure.in
@@ -1989,7 +1989,7 @@ if test "$OOO_GIT" = "" ; then
 "
 fi
 
-if test "${DISTRO:0:11}" != "LibreOffice"; then
+if test "${DISTRO#LibreOffice}" = "${DISTRO}"; then
     echo "Warning:"
     echo "  You have configured with --with-distro='$DISTRO'"
     echo "  This is -not- recommended until release time. Patches"


More information about the Libreoffice-commits mailing list