diff --git a/ChangeLog b/ChangeLog index 01469ca8f..31020644e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-04 Grégoire Sutre + + * configure.ac: Avoid == in test command, it's not portable. + * util/grub.d/30_os-prober.in: Likewise. + 2010-07-04 Colin Watson * kern/emu/getroot.c [__GNU__]: Include for munmap. diff --git a/configure.ac b/configure.ac index e5840118c..55c2625cb 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in index 601663dcc..ecd87bb1c 100644 --- a/util/grub.d/30_os-prober.in +++ b/util/grub.d/30_os-prober.in @@ -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