From 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 8 Jul 2009 23:05:29 +0300 Subject: [PATCH] Portability improvement to version.sh. --- version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'