aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-11 13:12:03 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-11 13:12:03 +0200
commitb489d837c8b482dd29aaaa1eedab6842c9563ea3 (patch)
tree21ddf6c635a1ecc83eaa7754176631a21e255708
parente877ec7ccea77f89ffda977cd8ed6fd01d09b12f (diff)
obs-clean.sh: only remove stuff in spec dir
-rwxr-xr-xrpm-local/obs-clean.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm-local/obs-clean.sh b/rpm-local/obs-clean.sh
index e78ee62..d7dfe2f 100755
--- a/rpm-local/obs-clean.sh
+++ b/rpm-local/obs-clean.sh
@@ -1,4 +1,5 @@
#!/bin/sh -x
# After osc checkout, clean out all tarballs and .osc dirs
+cd spec
rm -f $(find -name '*.tar.*') $(find -name '*.zip')
rm -rf $(find -name '.osc')