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

Re: [MiNT] rpm building



On Mon, 14 Jun 2010 15:34:25 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> Peter Slegg wrote:
> > mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/{lib,include,bin,man/man1,share}
> >
> > it created a single folder called "{lib,include,bin,man"
> > inside that it created one called "man1,share"
> >
> > very odd. Can mkdir create multiple folders with this syntax ?
>
> bash understands this syntax if the option "braceexpand" is enabled with
> "set -B".
>
> It is probably a bad idea to use a shell-specific syntax in a spec file.
>

This came from the old libjpegv6 specfile.

Should I replace the brace section with separate mkdir commands ?

Peter