summaryrefslogtreecommitdiff
blob: 6d503a81bd52e5d0763a6ca5ff30176ee7c2ae51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

OVERLAY="$(portageq get_repo_path / xfce-dev)"

pushd "${OVERLAY}" >/dev/null
for i in $(git status --porcelain|grep ebuild|awk '{ print $2 }'); do
	pkgs+=" $(dirname ${i})"
done

for i in ${pkgs}; do
	pushd ${i} >/dev/null
	repoman ci -m "$(basename ${i}): Sync with gentoo-x86"
	popd >/dev/null
done
popd >/dev/null

echo "Everything committed, don't forget to push!"