diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-02-08 20:10:39 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-02-08 20:10:39 +0000 |
commit | 7abc7acbd4ae660785822752a69abcdf98c609f0 (patch) | |
tree | 0601be979c95c4b7fd2ac7101c630e2ac3851a98 | |
parent | cleaned out old versions (diff) | |
download | overlay-7abc7acbd4ae660785822752a69abcdf98c609f0.tar.gz overlay-7abc7acbd4ae660785822752a69abcdf98c609f0.tar.bz2 overlay-7abc7acbd4ae660785822752a69abcdf98c609f0.zip |
initial import of my little overlay helper
svn path=/; revision=20
-rwxr-xr-x | ckovl.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ckovl.sh b/ckovl.sh new file mode 100755 index 0000000..66c8514 --- /dev/null +++ b/ckovl.sh @@ -0,0 +1,21 @@ +#! /bin/sh +# ckovl.sh - checks overlay for manifest/digest changes + +source /sbin/functions.sh + +export PORTDIR_OVERLAY="${PORTDIR_OVERLAY:-/home/trapni/projects/gentoo/trapni/overlay}" + +for CATEGORY in $(find . -mindepth 1 -maxdepth 1 -type d -name '*-*' | sed 's,./,,'); do + pushd ${CATEGORY} &>/dev/null + for PACKAGE in $(find . -mindepth 1 -maxdepth 1 -type d | sed 's,./,,' | grep -v .svn); do + einfo " Checking ${CATEGORY}/${PACKAGE} ..." + + pushd ${PACKAGE} &>/dev/null + for EBUILD in $(find . -maxdepth 1 -type f -name '*.ebuild' | sed 's,./,,'); do + rm -f Manifest files/digest-* + ebuild ${EBUILD} digest + done + popd &>/dev/null + done + popd &>/dev/null +done |