aboutsummaryrefslogtreecommitdiffstats
path: root/iurt_cache_cleaner.sh
diff options
context:
space:
mode:
authorMarcelo Leitner <mrl@mandriva.com>2007-06-22 19:29:09 +0000
committerMarcelo Leitner <mrl@mandriva.com>2007-06-22 19:29:09 +0000
commit968d3027f5d0c1b8b57706504e5b7a173a59684f (patch)
treef534a2e708155d214f4e13f6b34fe1e8dda11754 /iurt_cache_cleaner.sh
parentc8c84004f27ba2c711dcdb8ce19852aa35ebae17 (diff)
downloadiurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar
iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.gz
iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.bz2
iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.tar.xz
iurt-968d3027f5d0c1b8b57706504e5b7a173a59684f.zip
- Fix cache_ prefix location.
Diffstat (limited to 'iurt_cache_cleaner.sh')
-rwxr-xr-xiurt_cache_cleaner.sh4
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
}