svn commit: r264281 - head/tools/tools/nanobsd
Warner Losh
imp at FreeBSD.org
Tue Apr 8 21:58:05 UTC 2014
Author: imp
Date: Tue Apr 8 21:58:04 2014
New Revision: 264281
URL: http://svnweb.freebsd.org/changeset/base/264281
Log:
Also ignore files from Murcirial (.hg) and git (.git) when copying
file trees.
Modified:
head/tools/tools/nanobsd/nanobsd.sh
Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh Tue Apr 8 21:39:51 2014 (r264280)
+++ head/tools/tools/nanobsd/nanobsd.sh Tue Apr 8 21:58:04 2014 (r264281)
@@ -436,7 +436,7 @@ populate_slice ( ) (
if [ -n "${dir}" -a -d "${dir}" ]; then
echo "Populating ${lbl} from ${dir}"
cd ${dir}
- find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${mnt}
+ find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -dumpv ${mnt}
fi
df -i ${mnt}
umount ${mnt}
@@ -705,7 +705,7 @@ cust_allow_ssh_root () (
cust_install_files () (
cd ${NANO_TOOLS}/Files
- find . -print | grep -Ev '/(CVS|\.svn)' | cpio -Ldumpv ${NANO_WORLDDIR}
+ find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -Ldumpv ${NANO_WORLDDIR}
)
#######################################################################
More information about the svn-src-all
mailing list