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

Re: [MiNT] rpm brace expansion



On 1/14/10 7:59 PM, Andreas Schwab wrote:
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.

On modern platforms (all of them) sh is just a symlink to bash. My assumption is that this is implicitly required for an (rpm) build machine but I will not setup the packages this way as a user may want to save the memory.

Thanks,
Mark