Skip to content

Commit

Permalink
avoid falin if /tmp/SSb is missing an putting /test.c in root...
Browse files Browse the repository at this point in the history
  • Loading branch information
noisecode3 committed Jan 3, 2025
1 parent df0aac8 commit 5c87fca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builds/wine-tkg/wine-tkg.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi

mkdir -p "$TMP"
WINETMP="$( mktemp -d "$TMP/wine-test-XXXXXX" )"
echo "int main(void) {; return(0); }" > "$WINETMP/test.c"
gcc -m32 "$WINETMP/test.c" -o /dev/null >/dev/null 2>&1 && WINE32TEST=${WINE32TEST:-yes}
Expand Down

0 comments on commit 5c87fca

Please sign in to comment.