btrfs-progs: version.sh: simplify printing the version

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2015-02-13 14:49:31 +01:00
parent fef4f9e50b
commit 05648f1a58

View File

@ -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