From f489d96241ee7a733526cc672d260a70a5bb247d Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 7 Jul 2017 12:31:14 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A6=B4=EB=A6=AC=EC=A6=88=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=EC=97=90=20CP=5FDIR=EC=9D=84=20?= =?UTF-8?q?=EC=A3=BC=EA=B3=A0=20=EC=8B=A4=ED=96=89=ED=95=A0=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app-prime-modbus/make.sh | 2 +- app/gui/make.sh | 4 ++-- app/modbus-data-viewer/release.sh | 4 ++-- app/superdaemon/make.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) 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} -- 2.1.4