mirror of
https://github.com/collectd/collectd.git
synced 2026-02-09 04:09:15 +08:00
/bin/sh on OSX doesn't understand -n
This breaks PACKAGEVERSION since the -n is left verbatim in the string. Use the more portable printf instead
This commit is contained in:
committed by
Marc Fournier
parent
144a9eaae6
commit
a2c0ff89b4
@@ -10,4 +10,4 @@ fi
|
||||
|
||||
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
|
||||
|
||||
echo -n "$VERSION"
|
||||
printf "%s" "$VERSION"
|
||||
|
||||
Reference in New Issue
Block a user