fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.67k stars 123 forks source link

fix: change /bin/env to /usr/bin/env in build-web.sh. #833

Closed MaxCWhitehead closed 1 year ago

MaxCWhitehead commented 1 year ago

/bin/env does not exist on the system I am currently using (macOS 12.5).

It seems to me /bin/usr/env is probably more common - that said I really hope this change wouldn't create the opposite problem for others. (Though could always do #!/bin/bash).

Probably worth addressing one way or another so script does not require local modification to build wasm.

zicklag commented 1 year ago

Do you have /usr/bin/env on mac? I don't have /bin/usr/env on my linux machine?.

If /usr/bin/env works for you, I think that's on most linux machines.

/bin/bash could work, but the whole point of doing /bin/env is that it will find your bash install, even if it's not at /bin/bash.

Edit: Oh, sorry, I mis-read, you were setting it to /usr/bin/env. Yeah, I think that's super common, so that should be fine.