xinstall glob question

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Apr 29 11:42:20 PDT 2009


> Are these equivalent?
>
> A.
> eval xinstall -m 755 [glob {!${build.dir}/bin/*.dylib}] ${destroot}/$ 
> {vtkExamplePath}/bin
>
> B.
> cd ${build.dir}
> for f in `find bin \! -name '*.dylib'`; do
>   cp $f ${destroot}/${vtkExamplePath}/bin"
> done

The only difference I see is the mode setting.
Feel free to get a second opinion from the seasoned veterans :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090429/cfd7e202/attachment.bin>


More information about the macports-dev mailing list