equivs-build doesn't work if & is part of PWD

Bug #1016402 reported by Martin Mrazik
12
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-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.

Revision history for this message
Martin Mrazik (mrazik) wrote :
Revision history for this message
Martin Mrazik (mrazik) wrote :

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.

Revision history for this message
era (era) wrote :

Thank you for your bug report. I have forwarded it upstream and added a tracker for the corresponding Debian bug.

Changed in equivs (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in equivs (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Kostyshak (scott-kostyshak) wrote :

There's a more common use case in #881153 and it was reported earlier. Note that the patches are the same.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package equivs - 2.0.10

---------------
equivs (2.0.10) unstable; urgency=medium

  * QA upload.
  * Upload to unstable.

 -- Adrian Bunk <email address hidden> Sun, 18 Jun 2017 16:56:59 +0300

Changed in equivs (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.