From 1b88185fdc3b9679fdf1e589a8c773de6c9607e6 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 5 Apr 2019 11:00:54 +0200 Subject: [PATCH] Fix the build-script --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 1cd3279..851f571 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -4,6 +4,6 @@ cd .. tempDir=$(mktemp -d) sourceDir="./Website" find . -name "*" -and -not -name "." -and -not -name ".env" -and -not -path "$sourceDir/*" -and -not -path $sourceDir -exec rm -rf {} + -rsync -a --delete ./src/ $tempDir +rsync -a --delete $sourceDir $tempDir rsync -a --delete $tempDir/ . rm -rf $tempDir \ No newline at end of file