Skip to content

Commit

Permalink
Shell norms does not like ~ and used HOME for gh instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry McGuinness committed Dec 26, 2024
1 parent c9afe53 commit da4dd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/utils/launch_java_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ JAVA="${JAVA_HOME}/bin/java"
echo "JAVA VERSION: "
${JAVA} -version

GH=$(command -v gh || echo "~/bin/gh")
GH=$(command -v gh || echo "${HOME}/bin/gh")
[[ -f "${GH}" ]] || echo "ERROR: GitHub CLI (gh) not found. (exiting with error)"; exit 1
${GH} --version

Expand Down

0 comments on commit da4dd72

Please sign in to comment.