mirror of
https://git.tukaani.org/xz.git
synced 2025-02-22 08:28:25 +00:00
version.sh: Omit an unwanted dot from development versions
It printed 5.7.0.alpha instead of 5.7.0alpha. Fixes: e7a42cda7c827e016619e8cab15e2faf5d4181ae
This commit is contained in:
parent
f7a248f56e
commit
6b50590725
@ -17,5 +17,5 @@ sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
|
|||||||
s/LZMA_VERSION_STABILITY_STABLE//
|
s/LZMA_VERSION_STABILITY_STABLE//
|
||||||
s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
|
s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
|
||||||
src/liblzma/api/lzma/version.h \
|
src/liblzma/api/lzma/version.h \
|
||||||
| sed 'N; N; N; s/\n/./g; s/\.$//' \
|
| sed 'N; N; N; s/\n/./; s/\n/./; s/\n//g' \
|
||||||
| tr -d '\012\015\025'
|
| tr -d '\012\015\025'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user