aboutsummaryrefslogtreecommitdiffstats
path: root/iurt_cache_cleaner.sh
diff options
context:
space:
mode:
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
}