Merge pull request #594 from marc1706/ticket/592

[ticket/592] Correctly check if already setup inside phpBB
This commit is contained in:
Marc Alexander
2015-06-14 12:44:02 +02:00

View File

@@ -63,9 +63,8 @@
</target> </target>
<target name="prepare-tests" depends="clean,composer"> <target name="prepare-tests" depends="clean,composer">
<exec command="if [ -d '${build-directory}/../../../../../' ]; then echo 'true'; else echo 'false'; fi;" outputProperty="output.IS_DIRECTORY_EXISTS" />
<if> <if>
<equals arg1="${output.IS_DIRECTORY_EXISTS}" arg2="true" /> <available property="phpbb-is-available" file="${phpbb-root}/phpBB/vendor/bin/phpunit" type="file" />
<then> <then>
<echo msg="phpBB is already set up." /> <echo msg="phpBB is already set up." />
</then> </then>