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'