From b2086f25ed8449cc63f2459ad67d06fa39ae263c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 9 May 2015 20:34:52 +0200 Subject: [PATCH] /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 --- version-gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version-gen.sh b/version-gen.sh index 7b573ab7..460c6e9d 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -10,4 +10,4 @@ fi VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`" -echo -n "$VERSION" +printf "%s" "$VERSION" -- 2.11.0