Subversion Repositories Kolibri OS

Rev

Rev 5497 | Blame | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2. ok=`tput setaf 2`
  3. error=`tput setaf 1`
  4. reset=`tput sgr0`
  5.  
  6. clear
  7. rm build/kos_main.o
  8. rm build/mupdf
  9. make
  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
  20.  
  21.  
  22.  
  23.  
  24.