Skip to content

Commit

Permalink
Merge pull request #17867 from hrydgard/correct-mac-bundle-version
Browse files Browse the repository at this point in the history
Fix mac bundle version string.
  • Loading branch information
hrydgard authored Aug 8, 2023
2 parents 0aa9b76 + 1f65557 commit 2990fe4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SDL/macbundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ install_name_tool -rpath "${RPATH}" "@executable_path/../Frameworks" "${PPSSPPSD

echo "Done."

GIT_VERSION_LINE=$(grep "PPSSPP_GIT_VERSION = " "$(dirname "${0}")/../git-version.cpp")
# Hack, need to do something better here.
if [ -z "$GIT_VERSION_LINE" ]; then
GIT_VERSION_LINE=$(grep "PPSSPP_GIT_VERSION = " "$(dirname "${0}")/../build/git-version.cpp")
fi
GIT_VERSION_LINE=$(grep "PPSSPP_GIT_VERSION = " "$(dirname "${0}")/../build/git-version.cpp")

echo "Setting version to '${GIT_VERSION_LINE}'..."
SHORT_VERSION_MATCH='.*"v([0-9\.]+(-[0-9]+)?).*";'
Expand Down

0 comments on commit 2990fe4

Please sign in to comment.