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>
This commit is contained in:
parent
b6fe97483f
commit
cff484a98b
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user