diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 14062d0..cb62e88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -451,7 +451,10 @@ jobs: # Prevent Exec Format Error during cross-compiling if ${{ matrix.symlink_workaround }}; then - find /usr/${{ matrix.linux_cross_arch }}/lib -name '*.so*' -exec sudo ln -s {} /usr/lib/${{ matrix.linux_cross_arch }}/ ';' + find /usr/${{ matrix.linux_cross_arch }}/lib -name '*.so*' -print0 | + while IFS= read -r -d '' so; do + sudo ln -s "$so" /usr/lib/${{ matrix.linux_cross_arch }}/ + done sudo ln -s /usr/${{ matrix.linux_cross_arch }}/lib/ld-linux-*.so* /usr/lib/ fi @@ -610,7 +613,11 @@ jobs: - name: Code signing (Windows) if: runner.os == 'Windows' && inputs.code_signing - run: find ./artifact/lib -name '*.dll' -exec ./builder/codesign.bash {} ';' + run: | + find ./artifact/lib -name '*.dll' -print0 | + while IFS= read -r -d '' dll; do + ./builder/codesign.bash "$dll" + done env: ESIGNERCKA_USERNAME: ${{ secrets.ESIGNERCKA_USERNAME }} ESIGNERCKA_PASSWORD: ${{ secrets.ESIGNERCKA_PASSWORD }}