xinstall glob question

Darren Weber dweber at macports.org
Wed Apr 29 12:45:01 PDT 2009


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 <
jeremy at lavergne.gotdns.org> 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
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090429/004d14c2/attachment.html>


More information about the macports-dev mailing list