Merge pull request #132 from aguibert/cf-deploy-scripts

Adjust script paths based on $HOME value
This commit is contained in:
Andrew Guibert 2018-10-03 11:12:00 -05:00 committed by GitHub
commit 47857cb0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
# This script installs the required features when the server is deployed as a Cloud Foundry application
export PATH=$PATH:$HOME/app/.java/jre/bin
export PATH=$PATH:$HOME/.java/jre/bin
echo "Path is $PATH"
java -version
echo "Installing required features for server..."
$HOME/app/.liberty/bin/installUtility install $HOME/app/wlp/usr/servers/defaultServer/server.xml --acceptLicense
$HOME/.liberty/bin/installUtility install $HOME/wlp/usr/servers/defaultServer/server.xml --acceptLicense

View File

@ -1,8 +1,8 @@
#!/bin/sh
# This script installs the required features when the server is deployed as a Cloud Foundry application
export PATH=$PATH:$HOME/app/.java/jre/bin
export PATH=$PATH:$HOME/.java/jre/bin
echo "Path is $PATH"
java -version
echo "Installing required features for server..."
$HOME/app/.liberty/bin/installUtility install $HOME/app/wlp/usr/servers/defaultServer/server.xml --acceptLicense
$HOME/.liberty/bin/installUtility install $HOME/wlp/usr/servers/defaultServer/server.xml --acceptLicense

View File

@ -1,8 +1,8 @@
#!/bin/sh
# This script installs the required features when the server is deployed as a Cloud Foundry application
export PATH=$PATH:$HOME/app/.java/jre/bin
export PATH=$PATH:$HOME/.java/jre/bin
echo "Path is $PATH"
java -version
echo "Installing required features for server..."
$HOME/app/.liberty/bin/installUtility install $HOME/app/wlp/usr/servers/defaultServer/server.xml --acceptLicense
$HOME/.liberty/bin/installUtility install $HOME/wlp/usr/servers/defaultServer/server.xml --acceptLicense

View File

@ -1,8 +1,8 @@
#!/bin/sh
# This script installs the required features when the server is deployed as a Cloud Foundry application
export PATH=$PATH:$HOME/app/.java/jre/bin
export PATH=$PATH:$HOME/.java/jre/bin
echo "Path is $PATH"
java -version
echo "Installing required features for server..."
$HOME/app/.liberty/bin/installUtility install $HOME/app/wlp/usr/servers/defaultServer/server.xml --acceptLicense
$HOME/.liberty/bin/installUtility install $HOME/wlp/usr/servers/defaultServer/server.xml --acceptLicense