Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Nov 18, 2024
1 parent 1a80643 commit 6251f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/svtminion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ _fetch_salt_minion() {
curr_pwd=$(pwd)
cd ${generic_versions_tmpdir} || return 1
# leverage the onedir directories since release Windows and Linux
wget -r -np -nH --exclude-directories=windows,relenv,macos -x -l 1 "https://${bd_3006_base_url}/"
wget -r -np -nH --exclude-directories=windows,relenv,macos -x -l 1 "${bd_3006_base_url}/"
cd ${curr_pwd} || return 1

# get desired specific version of Salt
Expand All @@ -1169,7 +1169,7 @@ _fetch_salt_minion() {
"'${salt_pkg_name}' failed to download, error '${_retn}'"
fi

salt_pkg_metadata=$(curl "https://${bd_3006_base_url}/api/support/${salt_specific_version}/${salt_pkg_name}")
salt_pkg_metadata=$(curl "${bd_3006_base_url}/api/support/${salt_specific_version}/${salt_pkg_name}")
salt_pkg_sha=$(echo "${salt_pkg_metadata}" | grep -w "sha256" | sort | uniq)
if [[ -n "${salt_pkg_sha}" ]]; then
# have package metadata to process
Expand Down

0 comments on commit 6251f01

Please sign in to comment.