From 39abf61edb6cb897367a969c50d37a5bb2cd1a67 Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Fri, 21 Jun 2019 13:57:38 -0600 Subject: [PATCH] strip [] from acinit args if present. --- support/package-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/package-functions b/support/package-functions index 5517418..2ed5601 100644 --- a/support/package-functions +++ b/support/package-functions @@ -10,7 +10,7 @@ function pack_get_ac_version { # e.g. y=$(pack_get_ac_name configure.ac ) function pack_get_ac_name { x=$(grep AC_INIT $1 | cut -d, -f 1 | sed -e 's/.*(//g' -e 's/[[:space:]]//g') - echo $x + echo $x | sed -e 's/^\[//' -e 's/]$//g' } # fail and warn if any file given is missing or not regular.