aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-04-08 21:58:04 +0000
committerWarner Losh <imp@FreeBSD.org>2014-04-08 21:58:04 +0000
commit9329931e3f8fb9c860a17387783b4ba6baf70410 (patch)
tree41b376a4e7e2ca142c5f20259a1016de7ac83105
parentb434acb3065efd48498d03ee8c1e2d0c008b2bc8 (diff)
downloadsrc-9329931e3f8fb9c860a17387783b4ba6baf70410.tar.gz
src-9329931e3f8fb9c860a17387783b4ba6baf70410.zip
Also ignore files from Murcirial (.hg) and git (.git) when copying
file trees.
Notes
Notes: svn path=/head/; revision=264281
-rw-r--r--tools/tools/nanobsd/nanobsd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 4135fcccce5e..df09138c6fe9 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -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}
)
#######################################################################