Author: emaste
Date: Thu Jun 27 13:31:55 2019
New Revision: 349453
URL: https://svnweb.freebsd.org/changeset/base/349453

Log:
  picobsd: also exclude .git where we exclude .svn today
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/release/picobsd/build/picobsd

Modified: head/release/picobsd/build/picobsd
==============================================================================
--- head/release/picobsd/build/picobsd  Thu Jun 27 12:37:44 2019        
(r349452)
+++ head/release/picobsd/build/picobsd  Thu Jun 27 13:31:55 2019        
(r349453)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to