diff options
Diffstat (limited to 'iurt_cache_cleaner.sh')
-rwxr-xr-x | iurt_cache_cleaner.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt_cache_cleaner.sh b/iurt_cache_cleaner.sh index 65f875e..c780ba4 100755 --- a/iurt_cache_cleaner.sh +++ b/iurt_cache_cleaner.sh @@ -30,7 +30,7 @@ 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/debug_$distro/$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;" |\ xargs rm -fv |