Skip to content

Commit

Permalink
strip [] from acinit args if present.
Browse files Browse the repository at this point in the history
  • Loading branch information
baallan committed Jun 21, 2019
1 parent 733ed82 commit 39abf61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/package-functions
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 39abf61

Please sign in to comment.