Skip to content

Commit

Permalink
Replace wildcards with specific file names in download script. (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
timburks authored Mar 2, 2023
1 parent 2db14e7 commit d412d6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions downloadLatest.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ printf "\n"
cd "$HOME" || exit
mkdir -p "$HOME/.registry/bin"
mv "${tmp}/registry" "$HOME/.registry/bin"
mv "${tmp}/registry-lint-*" "$HOME/.registry/bin"
mv "${tmp}/registry-lint-api-linter" "$HOME/.registry/bin"
mv "${tmp}/registry-lint-spectral" "$HOME/.registry/bin"
printf "Copied registry into the $HOME/.registry/bin folder.\n"
chmod +x "$HOME/.registry/bin/registry"
chmod +x "$HOME/.registry/bin/registry-lint-*"
chmod +x "$HOME/.registry/bin/registry-lint-api-linter"
chmod +x "$HOME/.registry/bin/registry-lint-spectral"

# Print message
printf "\n"
Expand Down

0 comments on commit d412d6c

Please sign in to comment.