Merge pull request #12157 from owncloud/fix-autotest-condition

this allows a non-existant config/config.php for starting the autotest.s...
remotes/origin/fix-10825
Vincent Petry 11 years ago
commit dfcf2059e1
  1. 2
      autotest.sh

@ -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

Loading…
Cancel
Save