svn commit: r348239 - in head/tools/tools/nanobsd: dhcpd pcengines

Ed Maste emaste at FreeBSD.org
Fri May 24 15:21:24 UTC 2019


Author: emaste
Date: Fri May 24 15:21:23 2019
New Revision: 348239
URL: https://svnweb.freebsd.org/changeset/base/348239

Log:
  nanobsd: exclude .git (and .hg) in the same places we exclude .svn
  
  Allow support of other VCSes.  Note that two other nanobsd files already
  had a similar case, excluding .git and .hg in addition to CVS and .svn.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/tools/tools/nanobsd/dhcpd/common
  head/tools/tools/nanobsd/pcengines/common.conf

Modified: head/tools/tools/nanobsd/dhcpd/common
==============================================================================
--- head/tools/tools/nanobsd/dhcpd/common	Fri May 24 14:38:31 2019	(r348238)
+++ head/tools/tools/nanobsd/dhcpd/common	Fri May 24 15:21:23 2019	(r348239)
@@ -83,7 +83,7 @@ cust_install_machine_files()
 {
 	echo "cd ${NANO_CFG_BASE}/Files"
 	cd ${NANO_CFG_BASE}/Files
-	find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
+	find . -print | grep -Ev '/(CVS|\.git|\.hg|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
 }
 customize_cmd cust_install_files
 customize_cmd cust_install_machine_files 

Modified: head/tools/tools/nanobsd/pcengines/common.conf
==============================================================================
--- head/tools/tools/nanobsd/pcengines/common.conf	Fri May 24 14:38:31 2019	(r348238)
+++ head/tools/tools/nanobsd/pcengines/common.conf	Fri May 24 15:21:23 2019	(r348239)
@@ -39,7 +39,7 @@ cust_install_machine_files() (
   MACHINE_DIR="${NANO_TOOLS}/Files.${NANO_NAME}"
   if [ -d "${MACHINE_DIR}" ]; then
     cd ${MACHINE_DIR}
-    find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
+    find . -print | grep -Ev '/(CVS|\.git|\.hg|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
   else
     echo "${MACHINE_DIR} not found, skipping step"
   fi


More information about the svn-src-all mailing list