Re: Is "cp -a" allowed in debian/rules?
Douglas Bates <firstname.lastname@example.org> writes:
> In creating the r-base package I need to manually copy a directory
> tree into ./debian/tmp/usr/lib/R. Right now I do this using "cp -a".
> Is that practice frowned upon? Would using tar for this be preferred?
Well, I don't know if cp -a is frowned upon, but if so, I need to
change at least one of my packages.
In any case, here's a reasonable substitute:
(cd src-dir && tar cf - .) | (cd target-dir && tar xpf -)
Rob Browning <email@example.com>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94 53 2B 97 F5 D6 4E 39 30
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .