Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(wapm) Fix the wax script generation #2426

Merged
merged 2 commits into from
Jun 17, 2021

Commits on Jun 17, 2021

  1. fix(wapm) Fix the wax script generation.

    On macOS, `echo` always enables interpretation of backslach sequences
    (like `\n`). On Linux, the `-e` flag must be used. Even if this `-e`
    flag is absent from the macOS man's page for `echo(1)`, it is accepted
    and ignored, thus we can safely use it in our `Makefile`.
    
    To test this patch:
    
    ```sh
    $ # before
    $ make package-wapm
    $ cat package/bin/wax
    $
    $ # after
    $ make package-wapm
    $ cat package/bin/wax
    wapm execute "$@"
    ```
    Hywan committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    9d42538 View commit details
    Browse the repository at this point in the history
  2. doc(changelog) Add wasmerio#2426.

    Hywan committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    76a856d View commit details
    Browse the repository at this point in the history