maillog: 14/02/2005-10:08:30(-0500): Aaron Walker types
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Georgi Georgiev wrote:
> 
> > Ah, I knew there is a catch.
> > 
> > People usually use a recursive copy so that permissions of executable
> > files are preserved. Is there some other simple alternative to recreate
> > a subtree from $WORKDIR to $D? doins -r would make all files 0644 or
> > whatever the user wants them to be, but all files are with the same
> > permissions.
> > 
> 
> Checkout insopts.
> 
> insopts -m755 -o root -g root
> doins -r blah
> 
> man 5 ebuild has most of the answers.

But what do you do if you have executable and non-executable files mixed
in the subtree?

Unfortunately, I couldn't find a good real-life example to illustrate the
situation.

The above went directly to A.W. by mistake, so I am resending.

Furthermore, I found an example. reaplay-10.0.2 does the following:

mv * ${D}/opt/${MY_PN}

where the stuff that * matches includes a README, LICENSE a bunch of
directories with executable files (libraries and the real executable)
and a directory with various stuff. Is there an easy way to recreate
this tree to ${D}?

-- 
/    Georgi Georgiev   /  A sine curve goes off to infinity, or at     /
\     [EMAIL PROTECTED]    \  least the end of the blackboard. -- Prof.    \
/   +81(90)6266-1163   /  Steiner                                      /

--
[email protected] mailing list

Reply via email to