Merge pull request #1024 from rubenk/fix-version-gen-on-osx
authorMarc Fournier <marc.fournier@camptocamp.com>
Sat, 9 May 2015 22:10:36 +0000 (00:10 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sat, 9 May 2015 22:10:36 +0000 (00:10 +0200)
/bin/sh on OSX doesn't understand -n

version-gen.sh

index 7b573ab..460c6e9 100755 (executable)
@@ -10,4 +10,4 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-echo -n "$VERSION"
+printf "%s" "$VERSION"