Fix the build-script

This commit is contained in:
Manuel Thalmann 2019-04-05 11:00:54 +02:00
parent 9d05361eee
commit 1b88185fdc

View file

@ -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