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

Re: [MiNT] rpm building



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.

--
Vincent Rivière