#!/bin/bash if [[ "" = "$1" ]]; then echo "Specify a package!" >&2 exit 1 fi find . -name PKGBUILD -execdir grepdep-restricted $1 \;