Re: [PATCH 2/2] scripts: buildtar use parallel compress if available

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

 



Jim Davis <jim.epost@xxxxxxxxx> writes:

> On Tue, Aug 16, 2016 at 6:35 AM, Dmitry Monakhov <dmonakhov@xxxxxxxxxx> wrote:
>
>> +               type pigz >/dev/null 2>&1 && compress="pigz"
>
> Isn't the "type" builtin a feature of the bash shell?  The buildtar
> script won't necessarily be executed by bash.
Yes, you are right.  Let's use '/usr/bin/which'. I'll resend new version. 
>
> -- 
> Jim

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux