xinstall glob question

Darren Weber dweber at macports.org
Wed Apr 29 11:39:51 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


When using xinstall without resetting the file mode (ie, no -m option), do
directories and files retain their current modes?


Thanks in advance,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090429/c73c29e6/attachment.html>


More information about the macports-dev mailing list