buildrefmars.sh 872 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. # Builds all the reference mars
  3. if [ -f "ref.mar" ]; then
  4. rm "ref.mar"
  5. fi
  6. if [ -f "ref-mac.mar" ]; then
  7. rm "ref-mac.mar"
  8. fi
  9. ../make_incremental_update.sh ref.mar `pwd`/from `pwd`/to
  10. ../make_incremental_update.sh ref-mac.mar `pwd`/from-mac `pwd`/to-mac
  11. if [ -f "product-1.0.lang.platform.complete.mar" ]; then
  12. rm "product-1.0.lang.platform.complete.mar"
  13. fi
  14. if [ -f "product-2.0.lang.platform.complete.mar" ]; then
  15. rm "product-2.0.lang.platform.complete.mar"
  16. fi
  17. if [ -f "product-2.0.lang.mac.complete.mar" ]; then
  18. rm "product-2.0.lang.mac.complete.mar"
  19. fi
  20. ./make_full_update.sh product-1.0.lang.platform.complete.mar "`pwd`/from"
  21. ./make_full_update.sh product-2.0.lang.platform.complete.mar "`pwd`/to"
  22. ./make_full_update.sh product-1.0.lang.mac.complete.mar "`pwd`/from-mac"
  23. ./make_full_update.sh product-2.0.lang.mac.complete.mar "`pwd`/to-mac"