Skip to content

Commit

Permalink
opts
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Feb 17, 2024
1 parent c016345 commit 97fdb22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ if [ -n "${INPUT_DEPENDS}" ]; then
names=( "$(cut -d' ' -f2 "${INPUT_DEPENDS}" | uniq)" )
fi

if [ -n "${names}" ]; then
if [ ! "${#names[@]}" -eq 0 ]; then
tlmgr --verify-repo=none install "${names[@]}"
tlmgr --verify-repo=none --no-auto-remove update "${names[@]}" || echo 'UPDATE FAILED'
fi

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

0 comments on commit 97fdb22

Please sign in to comment.