Commit f489d96241ee7a733526cc672d260a70a5bb247d

Authored by 김태훈
1 parent 6cf5a899ff
Exists in master and in 2 other branches fhd, fhd-demo

릴리즈 스크립트에 CP_DIR을 주고 실행할 경우 제대로 동작하지 않는 문제 수정

app/app-prime-modbus/make.sh
@@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven/ ../release/" @@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven/ ../release/"
12 12
13 if [ ${CP_DIR} ] 13 if [ ${CP_DIR} ]
14 then 14 then
15 - CP_DIR_LIST+=${CP_DIR} 15 + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}"
16 fi 16 fi
17 17
18 for DIR in ${CP_DIR_LIST} 18 for DIR in ${CP_DIR_LIST}
app/gui/make.sh
@@ -8,9 +8,9 @@ then @@ -8,9 +8,9 @@ then
8 fi 8 fi
9 9
10 CP_DIR_LIST="/nfs/prime_oven/ ../release/" 10 CP_DIR_LIST="/nfs/prime_oven/ ../release/"
11 -if [ -z "$CP_DIR" ] 11 +if [ "$CP_DIR" ]
12 then 12 then
13 - CP_DIR_LIST+=${CP_DIR} 13 + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}"
14 fi 14 fi
15 15
16 image_filename=${TARGET} 16 image_filename=${TARGET}
app/modbus-data-viewer/release.sh
@@ -17,11 +17,11 @@ fi @@ -17,11 +17,11 @@ fi
17 cp bin/linux_arm/service-web release/service-web 17 cp bin/linux_arm/service-web release/service-web
18 cp -rf src/service-web/templates release/ 18 cp -rf src/service-web/templates release/
19 19
20 -CP_DIR_LIST=/nfs/prime_oven 20 +CP_DIR_LIST="/nfs/prime_oven/ ../release/"
21 21
22 if [ $CP_DIR ] 22 if [ $CP_DIR ]
23 then 23 then
24 - CP_DIR_LIST+=$CP_DIR 24 + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}"
25 fi 25 fi
26 26
27 for DEST_DIR in ${CP_DIR_LIST} 27 for DEST_DIR in ${CP_DIR_LIST}
app/superdaemon/make.sh
@@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven ../release/" @@ -12,7 +12,7 @@ CP_DIR_LIST="/nfs/prime_oven ../release/"
12 12
13 if [ ${CP_DIR} ] 13 if [ ${CP_DIR} ]
14 then 14 then
15 - CP_DIR_LIST+=${CP_DIR} 15 + CP_DIR_LIST="${CP_DIR_LIST} ${CP_DIR}"
16 fi 16 fi
17 17
18 for DIR in ${CP_DIR_LIST} 18 for DIR in ${CP_DIR_LIST}