fix(?) issue with find -exec in acquire script

This commit is contained in:
Connor Olding 2023-05-26 14:32:43 +02:00
parent 5653fb14e4
commit 363b86ba84
2 changed files with 1 additions and 1 deletions

0
lib.sh Normal file → Executable file
View File

View File

@ -89,7 +89,7 @@ ok=1 from= repo= commit= checksum= env= \
&& { [ -d "$dest" ] || mkdir "$dest" ;} \
&& if [ "$(wc -l </tmp/files)" = 1 ] && [ "$(wc -l </tmp/dirs)" = 1 ] \
;then : \
&& find "$temp" -mindepth 2 -maxdepth 2 -exec cp -rp {} "$dest" + \
&& find "$temp" -mindepth 2 -maxdepth 2 -exec cp -rpt "$dest" {} + \
;else : \
&& cp -rp "$temp" "$dest" \
;fi \