Skip to content

Commit

Permalink
fix dragonwell21 version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Accelerator1996 committed Nov 27, 2023
1 parent 68b7ed7 commit d1be912
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,9 @@ configureVersionStringParameter() {
addConfigureArgIfValueIsNotEmpty "--with-version-patch=" "${dragonwellPatch}"
fi
else
local version_string=${openJdkVersion%.*}
version_string=$(echo ${version_string%.*} | cut -d '-' -f 2)
#local version_string=${openJdkVersion%.*}
#version_string=$(echo ${version_string%.*} | cut -d '-' -f 2)
local version_string=$(echo ${openJdkVersion/+/.} | cut -d ' ' -f 2)
addConfigureArgIfValueIsNotEmpty "--with-version-string=" "\"${version_string}\""
fi
fi
Expand Down

0 comments on commit d1be912

Please sign in to comment.