Adjust paths

This commit is contained in:
Dominik 2018-11-02 12:50:58 +01:00
parent 504dfb8e7f
commit 6bdd1b8338
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ download() {
path=$2
if [ ! -f "${path}/${jar}" ]; then
if [ "${IDRAC_VERSION}" -eq 5 ]; then
URI="Java/release"
URI="Applications/dellUI/Java/release"
elif [ "${IDRAC_VERSION}" -eq 6 ]; then
URI="software"
fi
@ -64,6 +64,6 @@ download Linux_x86_32.jar lib
download Linux_x86_64.jar lib
# download Mac32.jar lib
args=$(curl -k --cookie Cookie=SessionCookie=${COOKIE} https://${IDRAC_HOST}/Java/jviewer.jnlp | awk -F '[<>]' '/argument/ { print $3 }')
args=$(curl -k --cookie Cookie=SessionCookie=${COOKIE} https://${IDRAC_HOST}/Applications/dellUI/Java/jviewer.jnlp | awk -F '[<>]' '/argument/ { print $3 }')
exec java -Djava.library.path="lib" -jar JViewer.jar $args