diff --git a/app/app-prime-modbus/make.sh b/app/app-prime-modbus/make.sh index 37699a8..9a76897 100755 --- a/app/app-prime-modbus/make.sh +++ b/app/app-prime-modbus/make.sh @@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven/ ../release/" if [ ${CP_DIR} ] then - CP_DIR_LIST+=${CP_DIR} + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}" fi for DIR in ${CP_DIR_LIST} diff --git a/app/gui/make.sh b/app/gui/make.sh index 4760a75..f2d0c23 100755 --- a/app/gui/make.sh +++ b/app/gui/make.sh @@ -8,9 +8,9 @@ then fi CP_DIR_LIST="/nfs/prime_oven/ ../release/" -if [ -z "$CP_DIR" ] +if [ "$CP_DIR" ] then - CP_DIR_LIST+=${CP_DIR} + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}" fi image_filename=${TARGET} diff --git a/app/modbus-data-viewer/release.sh b/app/modbus-data-viewer/release.sh index f73165a..6834487 100755 --- a/app/modbus-data-viewer/release.sh +++ b/app/modbus-data-viewer/release.sh @@ -17,11 +17,11 @@ fi cp bin/linux_arm/service-web release/service-web cp -rf src/service-web/templates release/ -CP_DIR_LIST=/nfs/prime_oven +CP_DIR_LIST="/nfs/prime_oven/ ../release/" if [ $CP_DIR ] then - CP_DIR_LIST+=$CP_DIR + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}" fi for DEST_DIR in ${CP_DIR_LIST} diff --git a/app/superdaemon/make.sh b/app/superdaemon/make.sh index 9eb1a71..8fb65ce 100755 --- a/app/superdaemon/make.sh +++ b/app/superdaemon/make.sh @@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven ../release/" if [ ${CP_DIR} ] then - CP_DIR_LIST+=${CP_DIR} + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}" fi for DIR in ${CP_DIR_LIST}