[Libreoffice-commits] .: setup_native/scripts

Thomas Klausner tklausner at kemper.freedesktop.org
Sat Oct 9 01:40:51 PDT 2010


 setup_native/scripts/linuxpatchscript.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f919591f5183f316dec470347783748306857d31
Author: Thomas Klausner <wiz at NetBSD.org>
Date:   Sat Oct 9 10:39:27 2010 +0200

    Use standard '=' comparison operator for test(1).

diff --git a/setup_native/scripts/linuxpatchscript.sh b/setup_native/scripts/linuxpatchscript.sh
index 4c40db7..5378d8d 100644
--- a/setup_native/scripts/linuxpatchscript.sh
+++ b/setup_native/scripts/linuxpatchscript.sh
@@ -26,7 +26,7 @@ fi
 echo
 read -p "Patching the installation in ${FULLPRODUCTINSTALLLOCATION}. Continue (y/n) ? " -n 1 reply leftover
 echo
-[ "$reply" == "y" ] || exit 1
+[ "$reply" = "y" ] || exit 1
 
 echo
 echo "About to update the following packages ..."
@@ -50,7 +50,7 @@ if [ "x$KDERPM" != "x" ]; then
   # Check, that $RPMLIST does not contain kde integration rpm (then it is already installed)
   KDERPMINSTALLED=`grep kde-integration ${RPMLIST}`
 
-  if [ "x$KDERPMINSTALLED" == "x" ]; then
+  if [ "x$KDERPMINSTALLED" = "x" ]; then
     # Install the kde integration rpm
     RPMLIST="$RPMLIST $KDERPM"
   fi


More information about the Libreoffice-commits mailing list