aboutsummaryrefslogtreecommitdiff
path: root/version.sh
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-07-08 23:05:29 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-07-08 23:05:29 +0300
commit1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e (patch)
treeb4726d47f98e87595d54973e1d0d6147eb978a85 /version.sh
parentRemove --force from xzdec. (diff)
downloadxz-1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e.tar.xz
Portability improvement to version.sh.
Diffstat (limited to 'version.sh')
-rw-r--r--version.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/version.sh b/version.sh
index 404a9e2a..40d04936 100644
--- a/version.sh
+++ b/version.sh
@@ -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'