Skip to content

Commit

Permalink
Fix downloading Wine 10.0 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek authored Dec 15, 2024
1 parent 82c6b2d commit 90a837e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ fi

# Stable and Development versions have a different source code location
# Determine if the chosen version is stable or development
if [ "$(echo "$WINE_VERSION" | cut -c3)" = "0" ]; then
WINE_URL_VERSION=$(echo "$WINE_VERSION" | cut -c1).0
if [ "$(echo "$WINE_VERSION" | cut -d "." -f2 | cut -c1)" = "0" ]; then
WINE_URL_VERSION=$(echo "$WINE_VERSION" | cut -d "." -f 1).0
else
WINE_URL_VERSION=$(echo "$WINE_VERSION" | cut -c1).x
WINE_URL_VERSION=$(echo "$WINE_VERSION" | cut --d "." -f 1).x
fi

rm -rf "${BUILD_DIR}"
Expand Down

0 comments on commit 90a837e

Please sign in to comment.