PRO_DIR=`pwd` CONFIG_IVSysMan="IVSysMan_vv7-6511.xml" check_result=`whereis patchelf | awk '{print $2}'` if [ ! $check_result ];then echo -e "\e[31m no found patchelf, Plz install patchelf first\e[0m" exit 1 fi app_name=( #driver_lidar_rs16 #driver_lidar_vlp16 #driver_gps_hcp2 driver_radio_p900 #driver_can_nvidia_agx #driver_can_kvaser #driver_can_vci #driver_map_trace #detection_radar_delphi_esr #detection_lidar_grid #view_pointcloud #view_gps #view_rawcan #view_radar #IVSysMan #ivmapmake #view_ivlog #tool_querymsg #detection_chassis #ui_ads_hmi #tool_mapcreat #decition_brain #decition_brain_ge3 #controller_ge3 #controller_vv7 #driver_map_xodrload #tool_xodrobj #ivlog_record #adciv_record ) for x in ${app_name[@]} do echo "deploy $x" cp ./bin/${x} ./ ./deploy.sh $x if [ "$?" == 1 ];then exit 1 fi rm ${x} done :<