qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d2d085: configure: Fix incorrect string compa


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d2d085: configure: Fix incorrect string comparison operato...
Date: Mon, 08 Jan 2018 13:01:08 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d2d0852271ca2d0a4df4c31312289a816266a0aa
      
https://github.com/qemu/qemu/commit/d2d0852271ca2d0a4df4c31312289a816266a0aa
  Author: Peter Maydell <address@hidden>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Fix incorrect string comparison operator

In commit c97d6d2cdf97ed we accidentally added code to configure
that uses '==' for string equality testing. This is a bashism --
the portable way to write this is '='.

This fixes the "Unexpected operator error" complaint produced
if the system /bin/sh is dash.

Fixes: c97d6d2cdf97ed
Reported-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]