mirror of https://git.tukaani.org/xz.git
Portability improvement to version.sh.
This commit is contained in:
parent
3bdb53792c
commit
1754b7e03e
|
@ -20,4 +20,5 @@ sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
|
|||
s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
|
||||
src/liblzma/api/lzma/version.h \
|
||||
| tr '\n' '|' \
|
||||
| sed 's/|/./; s/|/./; s/|//g'
|
||||
| sed 's/|/./; s/|/./; s/|//g' \
|
||||
| tr -d '\n'
|
||||
|
|
Loading…
Reference in New Issue