Skip to content

Commit adf12de

Browse files
authored
Update wss-runner.sh
1 parent e9298cb commit adf12de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wss-runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ API_KEY=${API_KEY}
4343
CONFIG_FILE_PATH=${CONFIG_FILE_PATH:="wss-unified-agent.config"}
4444

4545
if [[ -z "${API_KEY}" ]]; then
46-
bash <(curl -s -L https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss_agent_scanner.sh) -c "${CONFIG_FILE_PATH}" -d "${DIRECTORY}"
46+
bash <(run_latest_jar.sh) -c "${CONFIG_FILE_PATH}" -d "${DIRECTORY}"
4747
else
48-
bash <(curl -s -L https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss_agent_scanner.sh) -apiKey "${API_KEY}" -c "${CONFIG_FILE_PATH}" -d "${DIRECTORY}"
48+
bash <(run_latest_jar.sh) -apiKey "${API_KEY}" -c "${CONFIG_FILE_PATH}" -d "${DIRECTORY}"
4949
fi
5050

5151
echo ""

0 commit comments

Comments
 (0)