makepkg-customizepkg: Fix filter pattern for pkg vars.

master
Icedream 2023-12-16 09:57:14 +01:00
parent c193d574e3
commit f76a3bec5b
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ if is_readable_file "$pkgbuild_path" &&
[ $(git status --porcelain --no-renames PKGBUILD | wc -l) -lt 1 ]; then
# ! is_readable_file "$pkgbuild_copy_path";then
#eval $(grep -Pazo '[^[:print:]][[:blank:]]*_?(pkg.*|name)=(\((.|\n)*?\)|[^#]*?(?= *#|\x0a))' ./PKGBUILD | grep -Eva '\$\(|`|pkgdesc')
#eval $(grep -Pazo '[^[:print:]][[:blank:]]*_?(pkg.*|name)=(\((.|\n)*?\)|[^#]*?(?= +#|\x0a))' ./PKGBUILD | grep -Eva '\$\(|`|pkgdesc')
#if [[ -n "${pkgname:-''}" ]];then
# global_conf_path="${GLOBAL_CONF_DIR_PATH}/${pkgname}"