fix(?) issue with find -exec
in acquire
script
This commit is contained in:
parent
5653fb14e4
commit
363b86ba84
2 changed files with 1 additions and 1 deletions
0
lib.sh
Normal file → Executable file
0
lib.sh
Normal file → Executable file
|
@ -89,7 +89,7 @@ ok=1 from= repo= commit= checksum= env= \
|
||||||
&& { [ -d "$dest" ] || mkdir "$dest" ;} \
|
&& { [ -d "$dest" ] || mkdir "$dest" ;} \
|
||||||
&& if [ "$(wc -l </tmp/files)" = 1 ] && [ "$(wc -l </tmp/dirs)" = 1 ] \
|
&& if [ "$(wc -l </tmp/files)" = 1 ] && [ "$(wc -l </tmp/dirs)" = 1 ] \
|
||||||
;then : \
|
;then : \
|
||||||
&& find "$temp" -mindepth 2 -maxdepth 2 -exec cp -rp {} "$dest" + \
|
&& find "$temp" -mindepth 2 -maxdepth 2 -exec cp -rpt "$dest" {} + \
|
||||||
;else : \
|
;else : \
|
||||||
&& cp -rp "$temp" "$dest" \
|
&& cp -rp "$temp" "$dest" \
|
||||||
;fi \
|
;fi \
|
||||||
|
|
Loading…
Add table
Reference in a new issue