From: Linus Torvalds Date: Thu, 01 Nov 2007 00:46:40 GMT Subject: Re: [PATCH] Don't use cpio in git-clone when not installed Message-ID: In-Reply-To: <1193861145-20357-1-git-send-email-mh@glandium.org> On Wed, 31 Oct 2007, Mike Hommey wrote: > + if type cpio > /dev/null 2>&1; then > + local=yes > + fi Isn't "type" a bashism? Maybe just do if echo . | cpio -o > /dev/null 2>&1; then instead? Maybe even doing this at install time to avoid the overhead of executing another process.. Linus