You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
369B

  1. #!/bin/bash
  2. run="run/analytical.txt \
  3. run/problem.max \
  4. run/analytical.ppl"
  5. plot="pipe-mesh-1.png"
  6. for i in ${run}; do
  7. if [ ! -e $i ]; then
  8. echo "$i does not exist, please run the case first"
  9. exit 1
  10. fi
  11. done
  12. for i in ${plot}; do
  13. if [ ! -e $i ]; then
  14. echo "$i does not exist, please plot the results"
  15. exit 1
  16. fi
  17. done