Skip to content

Commit

Permalink
fix failing version output on spaces in dir name (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Dec 13, 2020
1 parent 71ed658 commit 87aab45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon_files/redmatic/bin/redmaticVersions
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ scan_dir()
dir=${dir%*/}
PKG=${dir##*/}
PKGJSON=$1/$PKG/package.json
if [[ -f $PKGJSON ]]; then
if [[ -f "$PKGJSON" ]]; then
JO_ARGS="$JO_ARGS `jq -r '.name' $1/$PKG/package.json`=`jq -r '.version' $1/$PKG/package.json`"
fi
case $PKG in @*)
Expand Down

0 comments on commit 87aab45

Please sign in to comment.