diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-06-22 19:29:09 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-06-22 19:29:09 +0000 |
commit | 968d3027f5d0c1b8b57706504e5b7a173a59684f (patch) | |
tree | f534a2e708155d214f4e13f6b34fe1e8dda11754 | |
parent | c8c84004f27ba2c711dcdb8ce19852aa35ebae17 (diff) | |
download | iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.gz iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.bz2 iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.xz iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.zip |
- Fix cache_ prefix location.
-rwxr-xr-x | iurt_cache_cleaner.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt_cache_cleaner.sh b/iurt_cache_cleaner.sh index c780ba4..d31e950 100755 --- a/iurt_cache_cleaner.sh +++ b/iurt_cache_cleaner.sh @@ -30,9 +30,9 @@ function clean_package() { sed -n "s@^$srpm @$TOPDIR/$distro/$section/@p;" |\ xargs rm -fv "$TOPDIR/$distro/$section/$srpm" - find "$TOPDIR/debug_$distro/$section" -name '*.rpm' ! -name '*.src.rpm' |\ + find "$TOPDIR/$distro/debug_$section" -name '*.rpm' ! -name '*.src.rpm' |\ xargs rpm -qp --qf '%{SOURCERPM} %{name}-%{version}-%{release}.%{arch}.rpm\n' |\ - sed -n "s@^$srpm @$TOPDIR/debug_$distro/$section/@p;" |\ + sed -n "s@^$srpm @$TOPDIR/$distro/debug_$section/@p;" |\ xargs rm -fv } |