From: David Sterba Date: Fri, 13 Feb 2015 13:49:31 +0000 (+0100) Subject: btrfs-progs: version.sh: simplify printing the version X-Git-Tag: upstream/4.16.1~2366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05648f1a5853625873ef10163374582b5eb162e2;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: version.sh: simplify printing the version Signed-off-by: David Sterba --- diff --git a/version.sh b/version.sh index c160088..c656f7d 100755 --- a/version.sh +++ b/version.sh @@ -28,7 +28,7 @@ fi if [ "$opt" = "--configure" ]; then # Omit the trailing newline, so that m4_esyscmd can use the result directly. - echo "$v" | tr -d '\n' + echo -n "$v" else echo "$v" fi