Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 15:21:23 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348239 - in head/tools/tools/nanobsd: dhcpd pcengines
Message-ID:  <201905241521.x4OFLNAa043595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905241521.x4OFLNAa043595>