equivs-build doesn't work if & is part of PWD
Bug #1016402 reported by
Martin Mrazik
This bug report is a duplicate of:
Bug #881153: equiv-build fails with paths with spaces.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
equivs (Debian) |
New
|
Unknown
|
|||
equivs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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-
Result:
mmrazik@
sh: 1: b: not found
Error on copy of the template files: exit status 127
Expected result:
it works.
Patch attached.
Changed in equivs (Debian): | |
status: | Unknown → New |
To post a comment you must log in.
Unfortunately this is a real world situation when we are using jenkins and mk-build-deps in the test job. We are using label expressions to select the correct test configuration (e.g. "amd64&&precise" to tell jenkins I want to test on amd64 and precise) . For some resons the label expression used for selecting the jenkins node is used in the path of the working directory. Hence this bug.