lib-git-svn.sh: Add check for mis-configured web server variables

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ramsay Jones 2010-12-14 18:25:11 +00:00 committed by Junio C Hamano
parent b6fe97483f
commit cff484a98b
1 changed files with 10 additions and 0 deletions

View File

@ -81,6 +81,11 @@ then
break
fi
done
if test -z "$SVN_HTTPD_PATH"
then
skip_all='skipping git svn tests, Apache not found'
test_done
fi
for d in \
"$SVN_HTTPD_MODULE_PATH" \
/usr/lib/apache2/modules \
@ -92,6 +97,11 @@ then
break
fi
done
if test -z "$SVN_HTTPD_MODULE_PATH"
then
skip_all='skipping git svn tests, Apache module dir not found'
test_done
fi
fi

start_httpd () {