summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-04-05 10:50:49 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-04-05 10:50:49 +0200
commitb43d1df8614625817fd243c396508a99a88b9f0e (patch)
treec186436975ca0a3c5825e94f2251f9e23eb6f875
parenteb1047bbf35c81eb2f6d9cf61753292b97c0dada (diff)
Reformat command call
This improves its readability and makes possible to add new parameters more cleanly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rwxr-xr-xtests/integration/run-docker.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/integration/run-docker.sh b/tests/integration/run-docker.sh
index fa57e72e9..7b7fb2f52 100755
--- a/tests/integration/run-docker.sh
+++ b/tests/integration/run-docker.sh
@@ -151,7 +151,15 @@ function prepareDocker() {
# "docker cp" does not take them into account (the extracted files are set
# to root).
echo "Copying local Git working directory of Nextcloud to the container"
- tar --create --file="$NEXTCLOUD_LOCAL_TAR" --exclude=".git" --exclude="./build" --exclude="./config/config.php" --exclude="./data" --exclude="./data-autotest" --exclude="./tests" --directory=../../../../ .
+ tar --create --file="$NEXTCLOUD_LOCAL_TAR" \
+ --exclude=".git" \
+ --exclude="./build" \
+ --exclude="./config/config.php" \
+ --exclude="./data" \
+ --exclude="./data-autotest" \
+ --exclude="./tests" \
+ --directory=../../../../ \
+ .
docker exec $NEXTCLOUD_LOCAL_CONTAINER mkdir /nextcloud
docker cp - $NEXTCLOUD_LOCAL_CONTAINER:/nextcloud/ < "$NEXTCLOUD_LOCAL_TAR"