picobsd: also exclude .git where we exclude .svn today

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-06-27 13:31:55 +00:00
parent 015cb6cde4
commit 338412e5a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349453

View File

@ -437,7 +437,7 @@ populate_floppy_fs() { # OK
${MY_TREE}/floppy.tree.${SITE} ; do
if [ -d ${FLOPPY_TREE} ] ; then
(cd ${FLOPPY_TREE} ; tar -cf - \
--exclude .svn ${excl} . ) | \
--exclude .git --exclude .svn ${excl} . ) | \
(cd ${dst} ; tar x${o_tarv}f - )
log "Copied from ${FLOPPY_TREE}"
fi
@ -698,7 +698,7 @@ populate_mfs_tree() {
for MFS_TREE in ${PICO_TREE}/mfs_tree ${MY_TREE}/mfs_tree ; do
if [ -d ${MFS_TREE} ] ; then
log "Copy ${MFS_TREE} ..."
(cd ${MFS_TREE} ; tar -cf - --exclude .svn . ) | \
(cd ${MFS_TREE} ; tar -cf - --exclude .git --exclude .svn . ) | \
(cd ${dst} ; tar x${o_tarv}f - )
fi
done