diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-11 13:12:03 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-11 13:12:03 +0200 |
commit | b489d837c8b482dd29aaaa1eedab6842c9563ea3 (patch) | |
tree | 21ddf6c635a1ecc83eaa7754176631a21e255708 | |
parent | e877ec7ccea77f89ffda977cd8ed6fd01d09b12f (diff) |
obs-clean.sh: only remove stuff in spec dir
Change-Id: I1f830deccec98309827f8e936a9974717ecdafca
-rwxr-xr-x | rpm-local/obs-clean.sh | 1 |
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') |