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/CLIENT4_rubbos_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/CLIENT4_rubbos_install.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/CLIENT4_rubbos_install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT4_rubbos_install.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT4_rubbos_install.sh index 2b684164..098df714 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT4_rubbos_install.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/CLIENT4_rubbos_install.sh @@ -5,7 +5,10 @@ source set_bottlenecks_rubbos_env.sh echo "INSTALLING RUBBOS/SYSSTAT on $HOSTNAME" +if [ ! -d "$RUBBOS_APP" ]; then mkdir -p $RUBBOS_APP +chmod 755 $RUBBOS_APP +fi # install RUBBoS tar xzf $SOFTWARE_HOME/$RUBBOS_TARBALL --directory=$RUBBOS_APP |