Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
fix: regex to read 'version' key surroundned by single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Jun 13, 2021
1 parent f7748d3 commit a6030e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lib/cmd/glue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ main() {
# ----------------- Local Init (glue.sh) ----------------- #
local glueFile="$GLUE_WD/glue.toml"
# TODO: fix hack
readonly -a GLUE_USING=("$(grep using "$glueFile" | sed 's|using[ \t]*=[ \t]*"\(.*\)"|\1|g')")
readonly -a GLUE_USING=("$(grep using "$glueFile" | sed "s|using[ \t]*=[ \t]*[\"']\(.*\)[\"']|\1|g")")
unset -v glueFile

# ------------------------- Main ------------------------- #
Expand Down

0 comments on commit a6030e9

Please sign in to comment.