summaryrefslogtreecommitdiff
blob: 68ab00fdf933d121a57d4b5f18fd2fa5a8fb26a3 (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 "$name" "${CVS_PATH}/${name#./}"
done