Lösung des ESY6/A Praktikums "signal_processing".
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.

execute_submake.sh 230B

123456789101112131415161718192021
  1. #!/bin/bash
  2. if [ $# -ne 1 ]
  3. then
  4. echo " usage: execute_submake subfolder [ FAIL ]"
  5. exit 1
  6. fi
  7. submake=$1
  8. make -C $submake > /dev/null
  9. err=$?
  10. if [ $err -ne 0 ]
  11. then
  12. echo " [ FAIL ]"
  13. exit $err
  14. fi
  15. echo " [ OK ]"