mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-23 13:26:50 +00:00
btrfs-progs: version.sh: simplify printing the version
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
fef4f9e50b
commit
05648f1a58
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user