fix(install.sh): fix broken url

pull/143/head
jwerle 2 years ago committed by Joseph Werle
parent f4665a5b74
commit 9c96da562e

@ -10,6 +10,9 @@ disable=SC2068
## Allow: Declare and assign separately to avoid masking return values
disable=SC2155
## Allow: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
disable=SC2206
## Allow: Prefer mapfile or read -a to split command output (or quote to avoid splitting)
disable=SC2207

@ -249,7 +249,7 @@ bpkg_install_from_remote () {
{
OLDIFS="$IFS"
IFS="@"
pkg_parts=("$pkg")
pkg_parts=($pkg)
IFS="$OLDIFS"
}
@ -268,7 +268,7 @@ bpkg_install_from_remote () {
{
OLDIFS="$IFS"
IFS='/'
pkg_parts=("$pkg")
pkg_parts=($pkg)
IFS="$OLDIFS"
}
@ -324,7 +324,7 @@ bpkg_install_from_remote () {
}
## build url
url="$remote$uri"
url="$remote/$uri"
repo_url="$git_remote/$user/$name.git"
local nonce="$(date +%s)"

Loading…
Cancel
Save