From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Subject: [PATCH 3/5] crypt-lib.sh: 'command -v' preferred over 'type' Date: Thu, 5 May 2011 13:34:19 +0200 Message-ID: <1304595261-11077-3-git-send-email-aidecoe@aidecoe.name> References: <1304595261-11077-1-git-send-email-aidecoe@aidecoe.name> <1304595261-11077-2-git-send-email-aidecoe@aidecoe.name> Return-path: In-Reply-To: <1304595261-11077-2-git-send-email-aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= --- modules.d/90crypt/crypt-lib.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules.d/90crypt/crypt-lib.sh b/modules.d/90crypt/crypt-lib.sh index 26f9950..f423289 100644 --- a/modules.d/90crypt/crypt-lib.sh +++ b/modules.d/90crypt/crypt-lib.sh @@ -2,7 +2,7 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh +command -v getarg >/dev/null || . /lib/dracut-lib.sh # Try to mount specified device (by path, by UUID or by label) and check # the path with 'test'. -- 1.7.5.rc3