#!/bin/sh make -C app/app-prime-modbus/ RET=$? if [ ${RET} -ne 0 ] then exit ${RET} fi CP_DIR_LIST="/nfs/prime_oven/ ../release/" if [ ${CP_DIR} ] then CP_DIR_LIST+=${CP_DIR} fi for DIR in ${CP_DIR_LIST} do mkdir -p ${DIR} cp -v release/* ${DIR} done