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

Re: [MiNT] rpm brace expansion



Vincent Rivière <vincent.riviere@freesbee.fr> writes:

> Mark Duckworth wrote:
>> So in rpm there is a line like mkdir -p
>> $RPM_BUILD_ROOT/{bin,usr/bin,usr/man/man1}
>
> Beware this is a bashism.

It's actually a cshism.

> In conclusion, this syntax should be used only if you are sure that the
> script is executed by bash.

Or csh :-)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."