cd $delivery_dir for file in `ls $delivery_dir` do if [ -d $delivery_dir"/"$file ]; then cd $delivery_dir"/"$file git pull cd $server_tools_dir"projectdeploy/runtime/libs" echo "开始更新=="$delivery_dir"/"$file dotnet Inspur.Gsp.Lcm.Metadata.Deployer.dll $delivery_dir"/"$file"/publish" $server_dir $db_ip $db_port $db_service_name $db_username $db_password $db_type 1 java cd $server_tools_dir"dataimport/runtime/libs" dotnet DataImportConsole.dll $delivery_dir"/"$file"/data" $db_ip $db_port $db_service_name $db_username $db_password $db_type echo "结束更新=="$delivery_dir"/"$file fi done