#!/bin/bash # cd e2j/testPb basepath=$(cd `dirname $0`; pwd) # 更新配置表 cd ${basepath} git pull # 更新后端代码 cd ../mergerpg_backend_kaifa # 解析配置表 cd ${basepath} node index.js # # 复制共用文件 # cd ${basepath}/tool # node copyXy.js