#!/bin/sh #Check PKGBUILD file { less PKGBUILD; read -p "Build package? [y/n]:" -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]] then ~/.bin/sh/build.sh fi }