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

Re: [MiNT] rpm brace expansion



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 works when executed by bash, but not by EasyMiNT's sh.

I don't know which shell executes the RPM commands.
Similarly, "make" always use sh.

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

--
Vincent Rivière