standard build script (method 2)
Lapo Luchini
lapo@lapo.it
Fri Jul 12 10:29:00 GMT 2002
> strip() {
> (cd ${instdir} && \
> find . -name "*.dll" | xargs strip > /dev/null 2>&1
> find . -name "*.exe" | xargs strip > /dev/null 2>&1 )
> }
Shouldn't that be changed to the following?
strip() {
(cd ${instdir} && \
find . -name "*.dll" | xargs strip > /dev/null 2>&1 && \
find . -name "*.exe" | xargs strip > /dev/null 2>&1 )
}
In some cases it gives me problems as the two lines aren't separated by
anything (&& or ;) and moreover doing it all in a single line is a
little more optimized.
--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
More information about the Cygwin-apps
mailing list