makepkg-customizepkg: Fix filter pattern for pkg vars.
parent
c193d574e3
commit
f76a3bec5b
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue