Use /bin/echo so -n works on osx.
authorRalph Giles <giles@mozilla.com>
Wed, 7 Nov 2012 23:03:59 +0000 (15:03 -0800)
committerRalph Giles <giles@mozilla.com>
Wed, 7 Nov 2012 23:03:59 +0000 (15:03 -0800)
The 'echo' built into /bin/sh on MacOS X doesn't support -n, which
confuses the AC_INIT macro. Use the separate binary which does.

doc/git-version.sh

index f331d3f..812219e 100755 (executable)
@@ -10,4 +10,4 @@ else
   VERSION=${GIT_VERSION}
 fi
 
-echo -n ${VERSION}
+/bin/echo -n ${VERSION}