From a2c0ff89b4792142dff02ee46bc5a578a5e6063e 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 5ab6f78f..40c11441 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.30.2