Commit 19346f4a authored by Morris Jobke's avatar Morris Jobke
Browse files

this allows a non-existant config/config.php for starting the autotest.sh

parent a069171c
...@@ -40,7 +40,7 @@ if ! [ $PHPUNIT_MAJOR_VERSION -gt 3 -o \( $PHPUNIT_MAJOR_VERSION -eq 3 -a $PHPUN ...@@ -40,7 +40,7 @@ if ! [ $PHPUNIT_MAJOR_VERSION -gt 3 -o \( $PHPUNIT_MAJOR_VERSION -eq 3 -a $PHPUN
exit 4 exit 4
fi fi
if ! [ -w config -a -w config/config.php ]; then if ! [ \( -w config -a ! -f config/config.php \) -o \( -f config/config.php -a -w config/config.php \) ]; then
echo "Please enable write permissions on config and config/config.php" >&2 echo "Please enable write permissions on config and config/config.php" >&2
exit 1 exit 1
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment