From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6pUK-0006zI-HC for qemu-devel@nongnu.org; Wed, 09 Dec 2015 19:53:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6pUH-0005N9-CI for qemu-devel@nongnu.org; Wed, 09 Dec 2015 19:53:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6pUH-0005N5-6U for qemu-devel@nongnu.org; Wed, 09 Dec 2015 19:53:37 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id B025F8E3E7 for ; Thu, 10 Dec 2015 00:53:36 +0000 (UTC) From: marcandre.lureau@redhat.com Date: Thu, 10 Dec 2015 01:53:30 +0100 Message-Id: <1449708810-17891-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] configure: remove bashism (since 2010) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= From: Marc-Andr=C3=A9 Lureau "type" is not POSIX shell, but a bashism. (found thanks to shellcheck) Signed-off-by: Marc-Andr=C3=A9 Lureau --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ba57b3f..90eff82 100755 --- a/configure +++ b/configure @@ -158,7 +158,7 @@ symlink() { # check whether a command is available to this shell (may be either an # executable or a builtin) has() { - type "$1" >/dev/null 2>&1 + which "$1" >/dev/null 2>&1 } =20 # search for an executable in PATH --=20 2.5.0