summaryrefslogtreecommitdiffstats
path: root/cleanup-makepkg
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-16 19:30:37 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-16 19:30:37 +0200
commit463068b43f573364bf8893da3fdd640414a88523 (patch)
tree7d5d2d49b7708ee46893bc16651af8b0f55e85e1 /cleanup-makepkg
parent6694e0c631cde4e64a506301e9aaf41b214fb59d (diff)
downloadbin-463068b43f573364bf8893da3fdd640414a88523.tar.gz
bin-463068b43f573364bf8893da3fdd640414a88523.tar.xz
misc updates
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'cleanup-makepkg')
-rwxr-xr-xcleanup-makepkg8
1 files changed, 8 insertions, 0 deletions
diff --git a/cleanup-makepkg b/cleanup-makepkg
new file mode 100755
index 0000000..6a99efc
--- /dev/null
+++ b/cleanup-makepkg
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ ! -e PKGBUILD ]]; then
+ echo "no PKGBUILD found, wrong directory?"
+ exit 1
+fi
+
+rm -f *.log PKGBUILD-namcap.log *.pkg.tar*