Avoid == in test command, it's not portable.

This commit is contained in:
Grégoire Sutre 2010-07-05 00:45:14 +02:00
parent cb7f64b229
commit 57ebd41ef1
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View 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

View 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