partialdeploy.sh 458 B

1234567891011121314151617181920212223242526272829
  1. PRO_DIR=`pwd`
  2. CONFIG_IVSysMan="IVSysMan_vv7-6511.xml"
  3. check_result=`whereis patchelf | awk '{print $2}'`
  4. if [ ! $check_result ];then
  5. echo -e "\e[31m no found patchelf, Plz install patchelf first\e[0m"
  6. exit 1
  7. fi
  8. app_name=(
  9. decition_brain
  10. )
  11. for x in ${app_name[@]}
  12. do
  13. echo "deploy $x"
  14. cp ./bin/${x} ./
  15. ./deploy.sh $x
  16. if [ "$?" == 1 ];then
  17. exit 1
  18. fi
  19. rm ${x}
  20. done
  21. echo ""
  22. echo "***************"
  23. echo "*** done! ***"
  24. echo "***************"