diff options
author | QiLiang <liangqi1@huawei.com> | 2015-12-14 13:12:45 +0000 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2015-12-14 13:12:45 +0000 |
commit | 693b3d3cd44a651514b1925eadbc668f296588b7 (patch) | |
tree | 78044fb256ce35d0c4a9fef2de70ece03b4668fa /rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh | |
parent | 26e1b1c7acbbadf08152e94ff9910ccd6b200ec5 (diff) |
Update benchmark and clientx scripts
just to make xx_install.sh xx_uninstall.sh ... the same.
rewrite the scripts latter or delete duplicated code if needed.
Change-Id: I0bcb993ef5ad9a5abb6b2ed009c7e6ed1b29e1ce
JIRA:BOTTLENECK-24
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh index ec47699a..e7571120 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT3_install.sh @@ -5,6 +5,11 @@ source set_bottlenecks_rubbos_env.sh echo "INSTALLING RUBBOS CLIENT on $HOSTNAME" +if [ ! -d "$RUBBOS_APP" ]; then +mkdir -p $RUBBOS_APP +chmod 755 $RUBBOS_APP +fi + tar xzf $SOFTWARE_HOME/$JAVA_TARBALL --directory=$RUBBOS_APP echo "DONE INSTALLING RUBBOS CLIENT on $HOSTNAME" |