[Libreoffice-commits] .: g
Miklos Vajna
vmiklos at kemper.freedesktop.org
Mon Sep 5 11:47:25 PDT 2011
g | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 889934e7395ca3211ede8e1e667805698a717e27
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Mon Sep 5 20:45:43 2011 +0200
g: check if git is in PATH
diff --git a/g b/g
index e6d3d6f..e5a91f3 100755
--- a/g
+++ b/g
@@ -18,6 +18,10 @@ if [ "$#" -eq "0" ] ; then
exit $?
fi
+if [ ! "`type -p git`" ]; then
+ echo "Cannot find the git binary! Is git installed and is in PATH?"
+ exit 1
+fi
pushd $(dirname $0) > /dev/null
COREDIR=$(pwd)
More information about the Libreoffice-commits
mailing list