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

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



Christian Schwarz <schwarz@monet.m.isar.de> writes:

> On 11 Dec 1997, Douglas Bates wrote:
> 
> > I have a vague recollection of seeing some comments regarding flags
> > for cp that should be avoided in packaging scripts.  Perhaps this was
> > in the discussion of bashisms.
> 
> I don't remember anything like that. Debian ships with `GNU cp', so I
> don't see a reason for not using the `-a' option. (I'd prefer the `-a'
> solution over the `tar' hack since it's much easier to read.) 

But consider the recent discussion of porting dpkg to other systems.
If you were using dpkg on Solaris or HP-UX or ... you may not be able
to count on cp understanding the -a flag.


--
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: