6 echo "Please invoke me from the root source dir, where ${BUILDSH} is."
10 if [ -z "${NETBSD_BRANCH}" ]
12 echo "NETBSD_BRANCH is undefined."
16 find .
-type f | cut
-c 3- |
grep -v '\.git' |
grep -v '\./minix' |
sort -u > files.all
17 git
grep -i minix | cut
-d: -f1 |
grep -v '\.git' |
grep -v '\./minix' |
sort -u > files.minix
18 diff files.all files.minix |
grep '^<'| cut
-c 3- > files.netbsd
22 git checkout
${NETBSD_BRANCH} ${file}