1 2 3 4 5 6 7 8
#!/bin/bash if [[ ! -e PKGBUILD ]]; then echo "no PKGBUILD found, wrong directory?" exit 1 fi rm -f *.log *.log.* PKGBUILD-namcap.log *.pkg.tar*