launch_anddev_build.sh 476 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. echo "LAB:INFO Starting launch_anddev_build.sh"
  3. # Read environment.props (if it exists) to get following two params:
  4. # sdl_android_port_path
  5. # my_home_dir
  6. if [ ! -f environment.props ]; then
  7. echo "LAB:ERROR: No file environment.props in $(pwd)"
  8. exit 1
  9. fi
  10. . ./environment.props
  11. ./generate_AndroidAppSettings.sh
  12. if [ $? -ne 0 ]; then
  13. exit 1
  14. fi
  15. echo "LAB:INFO launching commandergenius build file"
  16. cd "${sdl_android_port_path}"
  17. ./build.sh $*
  18. exit $?