Rev 5497 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5496 | leency | 1 | #!/bin/sh |
7475 | leency | 2 | ok=`tput setaf 2` |
5496 | leency | 3 | error=`tput setaf 1` |
4 | reset=`tput sgr0` |
||
5 | |||
7475 | leency | 6 | clear |
5496 | leency | 7 | rm build/kos_main.o |
8 | rm build/mupdf |
||
9 | make |
||
7475 | leency | 10 | if [ ! -f build/mupdf ]; then |
11 | echo "${error} Compilation error ${reset}" |
||
12 | $SHELL |
||
13 | fi |
||
14 | echo "${ok} OK ${reset}" |
||
15 | objcopy -O binary build/mupdf |
||
16 | rm updf |
||
17 | cp build/mupdf updf |
||
18 | ncftpput -u xxxx -p xxxx kolibri-n.org /public_ftp ~/Desktop/updf/updf |
||
19 | if [ $? -ne 0 ]; then echo \"Upload failed\"; fi |
||
5496 | leency | 20 |