Skip to content

Commit

Permalink
Make sure to use print for escaped newlines in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Aug 3, 2024
1 parent 8c46ebe commit 8d757ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ if [ ! -z "$1" ]; then
# Fetch a specific version from given script argument
VERSION_PATTERN="$1"
API_URL="https://github.com/gitapi/repos/$REPOSITORY/releases/tags/v$1"
echo "\n[1 / 3] Looking for $PROGRAM_NAME release with tag 'v$1'"
printf "\n[1 / 3] Looking for $PROGRAM_NAME release with tag 'v$1'"
else
# Fetch the latest release from the GitHub API
echo "\n[1 / 3] Looking for latest $PROGRAM_NAME release"
printf "\n[1 / 3] Looking for latest $PROGRAM_NAME release"
fi
FILE_PATTERN="${PROGRAM_NAME}-${VERSION_PATTERN}-${OS}-${ARCH}.zip"

Expand Down

0 comments on commit 8d757ac

Please sign in to comment.