From f89c16f83e33a38bf9a906b990c661b69eddd1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Fri, 21 Apr 2017 14:29:07 +0200 Subject: [PATCH] Exclude data-autotest from the files copied to the container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- build/acceptance/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/acceptance/run.sh b/build/acceptance/run.sh index 2a6efde74f3..8cb2bee621d 100755 --- a/build/acceptance/run.sh +++ b/build/acceptance/run.sh @@ -118,7 +118,7 @@ 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="./config/config.php" --exclude="./data" --exclude="./tests" --directory=../../ . + tar --create --file="$NEXTCLOUD_LOCAL_TAR" --exclude=".git" --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"