Closed Bug 1686798 Opened 4 years ago Closed 4 years ago

Support passing parameters with whitespaces to start-shell.bat

Categories

(Firefox Build System :: MozillaBuild, enhancement)

x86_64
Windows 10
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1740123

People

(Reporter: saschanaz, Unassigned)

References

Details

Currently it accepts parameters but it breaks when they include whitespaces.

IF "%*%" == "" (
  %MOZILLABUILD%msys\bin\bash --login -i
) ELSE (
  %MOZILLABUILD%msys\bin\bash --login -i -c "%*"
)

Specifically the "%*%" breaks with an argument "foo bar" and becomes ""foo bar"".

Component: General → MozillaBuild
Product: Firefox Build System → mozilla.org
Version: unspecified → other

mach.ps1 will be obsolete when Mach can be invoked directly from PowerShell.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Yay, thank you and it's exciting to see the progress 😍

Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.