Package: devscripts
Version: 2.11.2
Severity: normal

dcmd's maybe_expand() uses the following sed cmdline:

| sed --regexp-extended -n "s,$RE,$dir/\5,p" <"$1" | sed "s,^$sedre/,,"

This fails on files containing "," inside the filename.
And it doesn't work but exits with exit code 0:

| % dcmd 
/var/lib/jenkins/jobs/foobar-repos/workspace/repos-data/architecture=amd64,label=jenkins-slave1/foobar_0.6.4+0\~1321665567.svn6272.52_amd64.changes
| sed: -e expression #1, char 158: unknown option to `s'
| 
/var/lib/jenkins/jobs/foobar-repos/workspace/repos-data/architecture=amd64,label=jenkins-slave1/foobar_0.6.4+0~1321665567.svn6272.52_amd64.changes
| % echo $?
| 0

Maybe using something like ";" instead of "," inside the sed command
line would be more robust?

regards,
-mika-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2011-11-19t03-39...@devnull.michael-prokop.at

Reply via email to