mirror of
https://github.com/Installomator/Installomator.git
synced 2026-06-21 07:10:25 +01:00
buildLabel.sh tweaks #352
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PhillyPhoto on GitHub.
I noticed with the buildLabel.sh script that line 5 is misconfigured. Instead of:
downloadURL=${"https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-arm64.pkg"}at minimum is should be:
downloadURL="https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-arm64.pkg"to hard code the URL, but ideally:
downloadURL="$1"to pass the URL to the script properly.
Also, to avoid errors with basename, line 153 should be changed from:
echo $(basename $downloadURL)to:
echo $(basename "$downloadURL")@Theile commented on GitHub:
Thank you. Apparently a commit has included some unintended changes to this script.
@scriptingosx could you take a look at this commit, and revert it or something?
e42258d874 (diff-bbb59fd725e538490e3d875e920aaf1433ed615f985e0e6137638bbdbfd987ba)@scriptingosx commented on GitHub:
You need to create a PR, reverting a commit that far down the tree is not advisable.
@scriptingosx commented on GitHub:
This is a zsh script. You don't need to double quote every substitution in zsh.