Commit 3235df3c05cf036c27384d414eca9fa7f49f8470
1 parent
79e2e0a28d
Exists in
master
and in
2 other branches
mk-app.sh로 application.tar를 만들도록 함
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
scripts/mk-app.sh
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | FILES="superdaemon superdaemon.ini app-prime-modbus app-prime-gui" | 3 | FILES="superdaemon superdaemon.ini app-prime-modbus app-prime-gui" |
| 4 | +PACK="${FILES}" | ||
| 4 | for FILE in ${FILES} | 5 | for FILE in ${FILES} |
| 5 | do | 6 | do |
| 6 | md5sum ${FILE} | awk '{print $1}' > ${FILE}.md5 | 7 | md5sum ${FILE} | awk '{print $1}' > ${FILE}.md5 |
| 8 | + PACK="${PACK} ${FILE}.md5" | ||
| 7 | done | 9 | done |
| 10 | + | ||
| 11 | +tar cf application.tar ${PACK} config cookbook history program run.sh sounds |