GoogleCloudPlatform / dataflow-video-analytics

Video Clip Analytics By Using Dataflow and Video AI For Object Tracking
35 stars 30 forks source link

following bash script best practices #15

Open cjekal opened 3 years ago

cjekal commented 3 years ago

https://sipb.mit.edu/doc/safe-shell/

set -e: exit the whole script if a line fails instead of proceeding to the next line set -u: variables that aren't set but are used fail the script shopt -s failglob: fail if globs don't get expanded