aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-local/obs-clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-local/obs-clean.sh')
-rwxr-xr-xrpm-local/obs-clean.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm-local/obs-clean.sh b/rpm-local/obs-clean.sh
index 5fec22a..e78ee62 100755
--- a/rpm-local/obs-clean.sh
+++ b/rpm-local/obs-clean.sh
@@ -1,4 +1,4 @@
#!/bin/sh -x
# After osc checkout, clean out all tarballs and .osc dirs
-rm $(find -name '*.tar.*') $(find -name '*.zip')
-rm -r $(find -name '.osc')
+rm -f $(find -name '*.tar.*') $(find -name '*.zip')
+rm -rf $(find -name '.osc')