mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 02:10:27 +00:00
platformtest.sh: Clean up GIT source tree, when possible
This commit is contained in:
parent
0bd3fb88b2
commit
45d3e6aa91
@ -54,6 +54,16 @@ if [ $? -ne 0 ]; then
|
|||||||
cd ..
|
cd ..
|
||||||
fi
|
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 ..."
|
echo "$NAME: Checking for \"./configure\" script ..."
|
||||||
if [ ! -e ./configure ]; then
|
if [ ! -e ./configure ]; then
|
||||||
echo "$NAME: Running \"./autogen.sh\" ..."
|
echo "$NAME: Running \"./autogen.sh\" ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user