diff options
| author | Leah Rowe <leah@libreboot.org> | 2023-08-23 18:56:31 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2023-08-23 19:12:00 +0100 | 
| commit | 57adbc6eb1f961ee9116904b667f30efb3f2de4f (patch) | |
| tree | 73cff95e43ecbab6db374160ec5657b2853c6826 /fetch_trees | |
| parent | b3fbcdf66eb6225128e2578788e085e1b1eedf34 (diff) | |
unify err functions across scripts
include/err.sh
this new handling also does mundane things,
such as tell you what script b0rked
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'fetch_trees')
| -rwxr-xr-x | fetch_trees | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/fetch_trees b/fetch_trees index ed15739a..83d26e66 100755 --- a/fetch_trees +++ b/fetch_trees @@ -24,6 +24,8 @@  [ "x${DEBUG+set}" = 'xset' ] && set -v  set -u -e +. "include/err.sh" +  _target=""  tree=""  rev="" @@ -175,10 +177,4 @@ prepare_new_tree()  	)  } -err() -{ -	printf "ERROR, %s, %s\n" $0 $1 1>&2 -	exit 1 -} -  main $@ | 
