Skip to content

Commit

Permalink
Merge pull request #50 from jordojordo/fix-bundle-catalog-name-escape
Browse files Browse the repository at this point in the history
Fix parsing of extension name to include special characters
  • Loading branch information
jordojordo authored Apr 24, 2024
2 parents 0af018f + 9365ced commit ccc07d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bundle-catalog
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ for NAME in ${EXTS}
do
echo -e "${CYAN} + Syncing: ${BOLD}${NAME}${RESET}"

REPO=$(jq -r ".extensions.${NAME}.repo" manifest.json)
EXT_BRANCH=$(jq -r ".extensions.${NAME}.branch" manifest.json)
VERSIONS=$(jq -r ".extensions.${NAME}.versions[]" manifest.json)
REPO=$(jq -r ".extensions[\"${NAME}\"].repo" manifest.json)
EXT_BRANCH=$(jq -r ".extensions[\"${NAME}\"].branch" manifest.json)
VERSIONS=$(jq -r ".extensions[\"${NAME}\"].versions[]" manifest.json)
VFORMAT=$(echo $VERSIONS | tr '\n' ' ')

echo -e " Repository: ${REPO}"
Expand Down

0 comments on commit ccc07d3

Please sign in to comment.