We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38aa3fd commit 3ad6b71Copy full SHA for 3ad6b71
NodeBase/generate_config
@@ -3,7 +3,9 @@
3
function short_version() {
4
local __long_version=$1
5
local __version_split=( ${__long_version//./ } )
6
- echo "${__version_split[0]}.${__version_split[1]:0:1}"
+ local __major=${__version_split[0]}
7
+ local __minor=${__version_split[1]}
8
+ echo "${__major}.${__minor:0:1}"
9
}
10
11
if [[ -z "$CONFIG_FILE" ]]; then
Standalone/generate_config
- echo "${__version_split[0]}.${__version_split[1]}"
0 commit comments