Package: equivs Version: 2.0.9 X-Debbugs-Cc: era+deb...@iki.fi I am hereby forwarding Ubuntu bug #1016402 to the upstream maintainer of equivs from the Ubuntu bug tracking system.
https://bugs.launchpad.net/ubuntu/+source/equivs/+bug/1016402 --- cut --- 8< --- Steps to reproduce: 1. mkdir -p '/tmp/a/a&&b&&c' 2. put some code and debian packaging into this dir 3. run mk-build-deps/equivs-build Result: mmrazik@fry:/tmp/a/a&&b&&c/autopilot$ equivs-build debian/control sh: 1: b: not found Error on copy of the template files: exit status 127 Expected result: it works. Patch attached. --- >8 --- tuc --- For your convenience, I am inlining the patch, since it is completely trivial. Perhaps there are other spots in the code which should be audited for proper quoting, though. --- equivs-build 2012-06-22 09:27:18.000000000 +0200 +++ equivs-build.new 2012-06-22 09:27:06.000000000 +0200 @@ -46,7 +46,7 @@ usage(); } -system("cp -R /usr/share/equivs/template/* $builddir") == 0 or +system("cp -R /usr/share/equivs/template/* \"$builddir\"") == 0 or die "Error on copy of the template files: exit status " . ($?>>8) . "\n"; # Parse the equivs control file If you accept the patch, please note that the original author is Martin Mrazik, not me. Thanks. /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org