Re: [rene@debian.org: Bug#205471: devscripts: running debuild could lead to deleting _all_ backup dirs/files on the system]
Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> writes:
> I do have the following four cases:
> <package>
> <package-version>
> <package-version.debian_version>
> <package-cvs>
It should definitely allow package-upstreamver, since that's more or
less canonical. However, generalizing a bit and simply checking that
the name of the directory starts with the name of the source package
would allow your other cases while still avoiding things like $HOME
(unless your username happens to match the package name, but that's
probably too much of a corner case to worry about).
BTW, no need to Cc: me. (No big deal, though.)
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.
Reply to: