Skip to content

Commit 6d23bb8

Browse files
OttaviaBtwangboy
authored andcommitted
Fix SALT_REPO_URL and mktemp command in salt-quick-start.sh
1 parent 37e6e07 commit 6d23bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

salt-quick-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
__ScriptName="salt-quick-start.sh"
4-
SALT_REPO_URL="https://packages.broadcom.com/artifactory/salt-project-generic/onedir"
4+
SALT_REPO_URL="https://packages.broadcom.com/artifactory/saltproject-generic/onedir"
55
_COLORS=${QS_COLORS:-$(tput colors 2>/dev/null || echo 0)}
66

77
_LOCAL=0
@@ -94,7 +94,7 @@ __parse_repo_json_jq() {
9494
# $2 is ARCH
9595

9696
# get dir listing from url, sort and pick highest
97-
onedir_versions_tmpf=$(mktemp)
97+
onedir_versions_tmpf=$(mktemp -d)
9898
curr_pwd=$(pwd)
9999
cd ${onedir_versions_tmpf} || return 1
100100
wget -r -np -nH --exclude-directories=onedir,relenv,windows -x -l 1 "$SALT_REPO_URL/"

0 commit comments

Comments
 (0)