summaryrefslogtreecommitdiff
blob: d1b1d531ebfb132fd86e418143d8cba925383abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

[[ -f ${HOME}/.vmwareoverlayrc ]] && source ${HOME}/.vmwareoverlayrc

CVS_PATH="${CVS_PATH:-${HOME}/Gentoo/gentoo}"
OVERLAY_PATH="${OVERLAY_PATH:-${HOME}/Gentoo/vmware}"

echo cd "${OVERLAY_PATH}"
cd "${OVERLAY_PATH}"

for name in $(
	find . -type f |
		grep -v '/Manifest$' |
		grep -v '/ChangeLog' |
		grep -v '^\./\.git' |
		grep -v '^\./profiles' |
		grep -v '^\./metadata' |
		grep -v '^\./scripts' ) ;
do
	cp -v "${CVS_PATH}/${name#./}" "${name}"
done