File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ SERVER_IP=""
1313SERVER_HOME=" "
1414
1515local_host=" ` hostname --fqdn` "
16- LOCAL_IP=$( hostname -I)
17- LOCAL_IP=${LOCAL_IP// / }
16+ LOCAL_IP=$( hostname -I | awk ' {print $1}' )
1817
1918# To be compatible with MacOS and Linux
2019txt=" "
228227# #Install dss projects
229228function installDssProject() {
230229 echo " step2:update config"
231- # if [ "$DSS_INSTALL_HOME" != "" ]
232- # then
233- # rm -rf $DSS_INSTALL_HOME
234- # fi
235- # echo ""
236- # echo "-----------------DSS install start--------------------"
237230 SERVER_HOME=$DSS_INSTALL_HOME
238231 if [ " $SERVER_HOME " == " " ]
239232 then
240233 export SERVER_HOME=${workDir} /DSSInstall
241234 fi
242235 if [ -d $SERVER_HOME ] && [ " $SERVER_HOME " != " $workDir " ]; then
243- rm -r $SERVER_HOME -bak
244236 echo " mv $SERVER_HOME $SERVER_HOME -bak"
245237 mv $SERVER_HOME $SERVER_HOME -bak
246238 fi
You can’t perform that action at this time.
0 commit comments