[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is "cp -a" allowed in debian/rules?



Douglas Bates <bates@stat.wisc.edu> 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 <rlb@cs.utexas.edu>
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
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: