aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-07 11:07:09 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-07 11:12:54 +0200
commitefbb9562a692060eabc99f08396b24b5b359c75b (patch)
tree2c8510f680babded69860ff95549ac43c3670467
parent793aebb2b8c951fad416156f5235436aa6a9ac87 (diff)
rpm-local/obs-clean.sh: initial
-rwxr-xr-xrpm-local/obs-clean.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm-local/obs-clean.sh b/rpm-local/obs-clean.sh
new file mode 100755
index 0000000..5fec22a
--- /dev/null
+++ b/rpm-local/obs-clean.sh
@@ -0,0 +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')