diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-04-15 11:12:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-04-15 11:12:56 +0200 |
commit | c391a49cc1670f1d279a45169cb83877af9cacd7 (patch) | |
tree | 9d650451a29fb605db61ced4eede7743ab7ccfed | |
parent | 4090680ef7453cf56de4082c882d3f1cdf3f099b (diff) | |
download | weechat-c391a49cc1670f1d279a45169cb83877af9cacd7.zip |
core: add quote around stable/devel versions
-rwxr-xr-x | tools/bump_version.sh | 4 | ||||
-rwxr-xr-x | version.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/bump_version.sh b/tools/bump_version.sh index b69deb9b4..a45280e1f 100755 --- a/tools/bump_version.sh +++ b/tools/bump_version.sh @@ -58,6 +58,6 @@ case "$1" in esac sed -i \ - -e "s/^\(WEECHAT_STABLE\)=.*/\1=${NEW_STABLE}/" \ - -e "s/^\(WEECHAT_DEVEL\)=.*/\1=${NEW_DEVEL_FULL}/" \ + -e "s/^\(WEECHAT_STABLE\)=.*/\1=\"${NEW_STABLE}\"/" \ + -e "s/^\(WEECHAT_DEVEL\)=.*/\1=\"${NEW_DEVEL_FULL}\"/" \ "${ROOT_DIR}/version.sh" diff --git a/version.sh b/version.sh index 413343a10..7e17a307b 100755 --- a/version.sh +++ b/version.sh @@ -39,8 +39,8 @@ # devel-number the devel version as hex number ("0x04010000" for "4.1.0-dev") # -WEECHAT_STABLE=3.8 -WEECHAT_DEVEL=4.0.0-dev +WEECHAT_STABLE="3.8" +WEECHAT_DEVEL="4.0.0-dev" STABLE_MAJOR=$(echo "${WEECHAT_STABLE}" | cut -d'.' -f1) STABLE_MINOR=$(echo "${WEECHAT_STABLE}" | cut -d'.' -f2) |