Closed Bug 1669874 Opened 4 years ago Closed 4 years ago

./mach: 64: ./mach: which: not found

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

Considering mach is the only thing using which in a build (or at least, that visibly fails because of it), I'm inclined to fix it.

The former is a POSIX shell construct, usually a builtin, and the latter
is an external program that is not guaranteed to be available.

When which is not available, a full ./mach build succeeds with this
change.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/234ca9ad2c57
Use `command -v` instead of `which` in mach. r=firefox-build-system-reviewers,andi,rstewart
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: