Fix the build-script
This commit is contained in:
parent
9d05361eee
commit
1b88185fdc
|
@ -4,6 +4,6 @@ cd ..
|
||||||
tempDir=$(mktemp -d)
|
tempDir=$(mktemp -d)
|
||||||
sourceDir="./Website"
|
sourceDir="./Website"
|
||||||
find . -name "*" -and -not -name "." -and -not -name ".env" -and -not -path "$sourceDir/*" -and -not -path $sourceDir -exec rm -rf {} +
|
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/ .
|
rsync -a --delete $tempDir/ .
|
||||||
rm -rf $tempDir
|
rm -rf $tempDir
|
Loading…
Reference in a new issue