cp -R misses out dotfiles; use pax instead to copy file hierarchies
PR: conf/99721 (based on) Submitted by: Florian Zavatzki <f_zavatzki@blue-network.org> Approved by: hrs MFC after: 1 month
This commit is contained in:
parent
73e357ea5b
commit
0a1285e72b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243228
@ -354,7 +354,7 @@ for i in ${templates} ; do
|
||||
subdir=${j##*/}
|
||||
if [ -d $j -a ! -f $j.cpio.gz ]; then
|
||||
create_md $subdir
|
||||
cp -Rp $j/ /$subdir
|
||||
(cd $j && pax -rw . /$subdir)
|
||||
fi
|
||||
done
|
||||
for j in /conf/$i/*.cpio.gz ; do
|
||||
|
Loading…
Reference in New Issue
Block a user