aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'