summaryrefslogtreecommitdiff
path: root/Documentation/maintainers/cvs_sent.sh
blob: 76edd63a0158bbbcbc8d3adfb4be047cdba4a6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
PORTDIR="/home/scarab/gentoo/gentoo-x86/kde-base/"
find ./ -name \*-4.2.1\*.ebuild  |sed -e "s:./::" |grep -v printer |grep -v konsole | sort | while read package; do
	dir=${package/\/*}
	ebuild=${package/*\/}
	targetdir="${PORTDIR}${dir}"
	# update before copying
	pushd $targetdir > /dev/null
	cvs up
	popd > /dev/null
	cp ${package} ${targetdir}
	pushd $targetdir > /dev/null
	# todo check for patches
	cvs add ${ebuild}
	echangelog "Automatic-merge: merge updates for 4.2.1 from kde-testing."
	repoman commit -m "Automatic-merge: merge updates for 4.2.1 from kde-testing."
	popd > /dev/null
done