Skip to content

Commit

Permalink
fix -s init stop
Browse files Browse the repository at this point in the history
  • Loading branch information
petermm committed Jul 19, 2023
1 parent e0128d3 commit 6f35074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Create precompiled library
run: |
export NIF_VERSION="$(erl -noshell -s init stop -eval "io:format('~ts', [erlang:system_info(nif_version)]).")"
export NIF_VERSION="$(erl -noshell -eval "io:format('~ts', [erlang:system_info(nif_version)])." -s init stop)"
if [ "${{ matrix.pair.cmake_toolchain_file }}" != "" ]; then
export CMAKE_TOOLCHAIN_FILE="$(pwd)/${{ matrix.pair.cmake_toolchain_file }}"
export CC="${{ matrix.pair.cc }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
export PATH="~/.cache/rebar3/bin:$PATH"
export NIF_VERSION="$(erl -noshell -s init stop -eval "io:format('~ts', [erlang:system_info(nif_version)]).")"
export NIF_VERSION="$(erl -noshell -eval "io:format('~ts', [erlang:system_info(nif_version)])." -s init stop)"
if [ "${{ matrix.pair.arch }}" = "aarch64" ]; then
export TARGET_ARCH="${{ matrix.pair.arch }}"
export TARGET_OS="apple"
Expand Down

0 comments on commit 6f35074

Please sign in to comment.