repo: ngircd action: commit revision: path_from: revision_from: 45d3e6aa91295bee056df8be5c3ed224420fba02: path_to: revision_to:
commit 45d3e6aa91295bee056df8be5c3ed224420fba02 Author: Alexander BartonDate: Mon Oct 14 23:47:07 2013 +0200 platformtest.sh: Clean up GIT source tree, when possible diff --git a/contrib/platformtest.sh b/contrib/platformtest.sh
--- a/contrib/platformtest.sh +++ b/contrib/platformtest.sh @@ -54,6 +54,16 @@ if [ $? -ne 0 ]; then cd .. fi +echo "$NAME: Checking for GIT tree ..." +if [ -d .git ]; then + echo "$NAME: Checking for \"git\" command ..." + git version >/dev/null 2>&1 + if [ $? -eq 0 ]; then + echo "$NAME: Running \"git clean\" ..." + [ -n "$VERBOSE" ] && git clean -dxf || git clean -dxf >/dev/null + fi +fi + echo "$NAME: Checking for \"./configure\" script ..." if [ ! -e ./configure ]; then echo "$NAME: Running \"./autogen.sh\" ..."
-----END OF PAGE-----