Bug#884177: devscripts: debsnap --list should not complain about existing destdir
Hilko Bengen
bengen at debian.org
Tue Dec 12 11:56:06 UTC 2017
Package: devscripts
Version: 2.17.11
Severity: normal
User: devscripts at packages.debian.org
Usertags: debsnap
Tags: patch
Dear Maintainers,
After setting DEBSNAP_DESTDIR in my ~/.devscripts configuration file, I
get the following unexpected error:
,----
| $ debsnap --list python-evtx
| debsnap: fatal error at line 255:
| Destination dir /home/bengen/tmp/deb already exists.
| Please (re)move it first, or use --force to overwrite.
`----
I don't see why I should need to use --force for an operation that does
not even modify the destination directory, so I have moved the check
as-is into the $mkDestDir function, see attached patch.
Cheers,
-Hilko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1134 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20171212/b3747f59/attachment.diff>
More information about the devscripts-devel
mailing list