summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2015-12-14 13:12:45 +0000
committerQiLiang <liangqi1@huawei.com>2015-12-14 13:12:45 +0000
commit693b3d3cd44a651514b1925eadbc668f296588b7 (patch)
tree78044fb256ce35d0c4a9fef2de70ece03b4668fa /rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh
parent26e1b1c7acbbadf08152e94ff9910ccd6b200ec5 (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/CLIENT2_install.sh')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh
index 3be98dea..e7571120 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT2_install.sh
@@ -5,8 +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"
-
-