]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Avoid == in test command, it's not portable.
authorGrégoire Sutre <gregoire.sutre@gmail.com>
Sun, 4 Jul 2010 22:45:14 +0000 (00:45 +0200)
committerGrégoire Sutre <gregoire.sutre@gmail.com>
Sun, 4 Jul 2010 22:45:14 +0000 (00:45 +0200)
ChangeLog
configure.ac
util/grub.d/30_os-prober.in

index 01469ca8f9c9a6e21c35ebf4e21c6403612f0631..31020644eebaf16a3b494ecdad4c6ea0949f963a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-04  Grégoire Sutre  <gregoire.sutre@gmail.com>
+
+       * configure.ac: Avoid == in test command, it's not portable.
+       * util/grub.d/30_os-prober.in: Likewise.
+
 2010-07-04  Colin Watson  <cjwatson@ubuntu.com>
 
        * kern/emu/getroot.c [__GNU__]: Include <sys/mman.h> for munmap.
index e5840118cd3f9272aef9967845c8bd1105ccbce2..55c2625cbbc52ace3b311ee2c0bf7a9acd62b6a5 100644 (file)
@@ -190,7 +190,7 @@ for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
   done
 done
 
-if test "x$FONT_SOURCE" == x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then
+if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then
    AC_MSG_ERROR([qemu and yeeloong ports need unifont])
 fi
 
index 601663dcce44b38ad34b37dee42fffc2af6b20f0..ecd87bb1c2da653a9a52a4c9d81fb187708597b5 100644 (file)
@@ -52,7 +52,7 @@ EOF
              set do_resume=1
            fi
         fi
-        if [ \$do_resume == 0 ]; then
+        if [ \$do_resume = 0 ]; then
            xnu_uuid ${OSXUUID} uuid
            if [ -f /Extra/DSDT.aml ]; then
               acpi -e /Extra/DSDT.aml