The {!<pattern>} syntax is supposed to NOT that file name <pattern>.  I have
a directory of binary executables among a lot of .dylib files and I want to
exclude all the .dylib files from the glob.

The system command is working, so I'll go ahead with that.

Thanks, Darren


On Wed, Apr 29, 2009 at 11:42 AM, Jeremy Lavergne <
[email protected]> wrote:

> 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 :-)
>
>
> _______________________________________________
> macports-dev mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
>
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to