mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Portability improvement to version.sh.
This commit is contained in:
parent
3bdb53792c
commit
1754b7e03e
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue