On 20 Feb 2005 10:22:29 +1000, apathy wrote:
> 
> Package: libarch-perl
> Version: 0.4.2-1
> Severity: normal
> Tags: patch
> 
> if you use the base_name arg to Arch::Tarball::create() (like Archzoom does) 
> the extra directory doesn't get created.

I think copy_dir should create the destination directory.

I can see, however, why you think mkdir is missing if copy_dir "fails".

> Also the arg '-P' to cp in Arch::Util::copy_dir appears to have changed
> meaning from '--no-dereference' to '--parents'.
> 
> $ dpkg -l $(dpkg -S `which cp` | cut -f1 -d:) | grep ^ii
> ii  fileutils                4.1-10                   GNU file management 
> utilities

GNU fileutils is obsolete and was replaced in 2003 with GNU coreutils;
Google for "GNU fileutils".  The "--no-dereference" is not portable,
the POSIX says "cp -P".  It is true that GNU cp was not POSIX compliant
several years ago, now it is POSIX compliant.

Debian archzoom package may have conflicts=fileutils suggests=coreutils,
I suppose (I am not really a Debian user).

Or just dump the warning "you will not be able to use tarball_downloading
option" if fileutils is detected.

Sorry, I can't apply your patches in the mainstream, please upgrade "cp".
At some point copy_dir may be implemented natevely. You may help.

Regards,
Mikhael.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to