mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1325787
- Fix MozillaBuild so profile-rustup.sh doesn't break Windows users who have aliased 'cd'. r=gps
This commit is contained in:
parent
2041039808
commit
5c31ea5e34
@ -35,7 +35,7 @@ class MozillaBuildBootstrapper(BaseBootstrapper):
|
||||
with open(mozillabuild_dir + 'msys/etc/profile.d/profile-rustup.sh', 'wb') as f:
|
||||
f.write('#!/bash/sh\n')
|
||||
f.write('if test -n "$MOZILLABUILD"; then\n')
|
||||
f.write(' WIN_HOME=$(cd "$HOME" && pwd)\n')
|
||||
f.write(' WIN_HOME=$(command cd "$HOME" && pwd)\n')
|
||||
f.write(' PATH="$WIN_HOME/.cargo/bin:$PATH"\n')
|
||||
f.write(' export PATH\n')
|
||||
f.write('fi')
|
||||
|
Loading…
Reference in New Issue
Block a user