Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2746: Fix invoking `wasmer binfmt register` from `$PATH` r=syrusakbary a=jcaesar <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Currently, invoking `wasmer binfmt register` from `$PATH` fails. ``` $ wasmer binfmt register error: Cannot get path to wasmer executable ``` (Currently, only invoking it by absolute path (`$(which wasmer) binfmt register`, e.g. as would be from a systemd unit) works.) I also added a commit that changes some bit twiddling with file modes to a nicer semantic check, but it does add a dependency. Please tell me if you don't want that. # Review - [ ] Add a short description of the change to the CHANGELOG.md file - Not necessary? Co-authored-by: Julius Michaelis <gitter@liftm.de>
- Loading branch information