Skip to content

Commit

Permalink
Fix silent fail when grep doesn't find a match
Browse files Browse the repository at this point in the history
This can happen when e.g. the `find` before produces an empty result.
  • Loading branch information
elcorto committed Jul 27, 2023
1 parent dba1617 commit a968c01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# or
# $ F2PY=/usr/bin/f2py3 ./this.sh

set -euo pipefail
set -u

err(){
echo "error $@"
Expand Down

0 comments on commit a968c01

Please sign in to comment.