From 78a3df7b935cec39381749bcb1345d6f4db12408 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 22 Oct 2016 06:16:39 -0400 Subject: [PATCH] updating... --- _bin/new.package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_bin/new.package.sh b/_bin/new.package.sh index a1ceda3..6e3693d 100755 --- a/_bin/new.package.sh +++ b/_bin/new.package.sh @@ -78,7 +78,7 @@ echo # check PKGNAME set +e # disable bail-on-error because we want a non-zero if a package name is not right, etc. -echo "${PKGNAME}" | egrep -Eq '^([a-z0-9\_])+$' +echo "${PKGNAME}" | egrep -Eq '^([a-z0-9\_\-])+$' if [[ "${?}" -ne '0' ]]; then echo "ERROR: That does not seem to be a valid package name!"