Skip to content

Commit

Permalink
fix: Preserve non-version outputs from faked mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkerKnapp committed Jul 14, 2024
1 parent f497d74 commit a0e6c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/i686-w64-mingw32-g++-faker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ "$3" == "-v" ]]; then
gcc $@
if [[ "$3" == "-v" || "$5" == "-v" ]]; then
i686-w64-mingw32-g++ $@ > >(sed -e 's/-win32 (GCC)/.2.0 (GCC)/g' >&2)@
else
i686-w64-mingw32-g++ $@
fi
4 changes: 2 additions & 2 deletions .github/workflows/x86_64-w64-mingw32-g++-faker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ "$3" == "-v" ]]; then
gcc $@
if [[ "$3" == "-v" || "$5" == "-v" ]]; then
x86_64-w64-mingw32-g++ $@ > >(sed -e 's/-win32 (GCC)/.2.0 (GCC)/g' >&2)@
else
x86_64-w64-mingw32-g++ $@
fi

0 comments on commit a0e6c24

Please sign in to comment.