1
0
Fork 0
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:
Lasse Collin 2009-07-08 23:05:29 +03:00
parent 3bdb53792c
commit 1754b7e03e

View file

@ -20,4 +20,5 @@ sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
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 \
| tr '\n' '|' \ | tr '\n' '|' \
| sed 's/|/./; s/|/./; s/|//g' | sed 's/|/./; s/|/./; s/|//g' \
| tr -d '\n'