Skip to content

Commit

Permalink
array
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Feb 17, 2024
1 parent 97fdb22 commit 6a61edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entry.sh
Expand Up @@ -32,7 +32,7 @@ tlmgr --verify-repo=none update --self

names=( "${INPUT_PACKAGES}" )
if [ -n "${INPUT_DEPENDS}" ]; then
names=( "$(cut -d' ' -f2 "${INPUT_DEPENDS}" | uniq)" )
names=( $(cut -d' ' -f2 "${INPUT_DEPENDS}" | uniq) )
fi

if [ ! "${#names[@]}" -eq 0 ]; then
Expand All @@ -42,5 +42,5 @@ fi

cd "${INPUT_PATH-.}"
ls -al
opts=( "${INPUT_OPTS}" )
opts=( ${INPUT_OPTS} )
${INPUT_CMD} "${opts[@]}"

0 comments on commit 6a61edd

Please sign in to comment.