From eed5cf142c97e289cf04a33f41d15352b95b41db Mon Sep 17 00:00:00 2001 From: emaste Date: Thu, 27 Jun 2019 13:31:55 +0000 Subject: [PATCH] picobsd: also exclude .git where we exclude .svn today Sponsored by: The FreeBSD Foundation --- release/picobsd/build/picobsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd index 807f9acd724..2d057ed81c5 100755 --- a/release/picobsd/build/picobsd +++ b/release/picobsd/build/picobsd @@ -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 -- 2.45.0