summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/start-webdav-ownCloud.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/start-webdav-ownCloud.sh')
-rwxr-xr-xapps/files_external/tests/env/start-webdav-ownCloud.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/start-webdav-ownCloud.sh b/apps/files_external/tests/env/start-webdav-ownCloud.sh
index c7267cff341..58b87e8f05d 100755
--- a/apps/files_external/tests/env/start-webdav-ownCloud.sh
+++ b/apps/files_external/tests/env/start-webdav-ownCloud.sh
@@ -28,6 +28,10 @@ docker pull morrisjobke/owncloud
# retrieve current folder to place the config in the parent folder
thisFolder=`echo $0 | replace "env/start-webdav-ownCloud.sh" ""`
+if [ -z "$thisFolder" ]; then
+ thisFolder="."
+fi;
+
if [ -n "$RUN_DOCKER_MYSQL" ]; then
echo "Fetch recent mysql docker image"
docker pull mysql
@@ -78,5 +82,6 @@ if [ -n "$databaseContainer" ]; then
fi
if [ -n "$DEBUG" ]; then
- echo $thisFolder/config.webdav.php
+ cat $thisFolder/config.webdav.php
+ cat $thisFolder/dockerContainerOwnCloud.$EXECUTOR_NUMBER.webdav
fi