diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-08 23:05:29 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-08 23:05:29 +0300 |
commit | 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e (patch) | |
tree | b4726d47f98e87595d54973e1d0d6147eb978a85 | |
parent | Remove --force from xzdec. (diff) | |
download | xz-1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e.tar.xz |
Portability improvement to version.sh.
-rw-r--r-- | version.sh | 3 |
1 files changed, 2 insertions, 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' |