x86-run: replace the deprecated 'fgrep' with 'grep -F'. Signed-off-by: Yongjie Ren <yongjie....@intel.com> --- x86-run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/x86-run b/x86-run index 6093a72..14ff331 100755 --- a/x86-run +++ b/x86-run @@ -3,12 +3,12 @@ qemukvm="${QEMU:-qemu-kvm}" qemusystem="${QEMU:-qemu-system-x86_64}" if - ${qemukvm} -device '?' 2>&1 | fgrep -e \"testdev\" -e \"pc-testdev\" > /dev/null; + ${qemukvm} -device '?' 2>&1 | grep -F -e \"testdev\" -e \"pc-testdev\" > /dev/null; then qemu="${qemukvm}" else if - ${qemusystem} -device '?' 2>&1 | fgrep -e \"testdev\" -e \"pc-testdev\" > /dev/null; + ${qemusystem} -device '?' 2>&1 | grep -F -e \"testdev\" -e \"pc-testdev\" > /dev/null; then qemu="${qemusystem}" else @@ -18,7 +18,7 @@ else fi if - ${qemu} -device '?' 2>&1 | fgrep pci-testdev > /dev/null; + ${qemu} -device '?' 2>&1 | grep -F "pci-testdev" > /dev/null; then pci_testdev="-device pci-testdev" else @@ -26,7 +26,7 @@ else fi if - ${qemu} -device '?' 2>&1 | fgrep "pc-testdev" > /dev/null; + ${qemu} -device '?' 2>&1 | grep -F "pc-testdev" > /dev/null; then pc_testdev="-device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4" else -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html