[Libreoffice-commits] .: Branch 'libreoffice-3-3' - configure.in
Robert Nagy
rnagy at kemper.freedesktop.org
Tue Nov 9 09:52:39 PST 2010
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 94998c1ff7423968738eeab71034f80940f6ea68
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 5546dfc..186b61d 100755
--- a/configure.in
+++ b/configure.in
@@ -1872,7 +1872,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