Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  branches 11969 almost 11 years Aaron Marcuse-Kubitza added standard svn dirs branches, tags, trunk
  tags 11969 almost 11 years Aaron Marcuse-Kubitza added standard svn dirs branches, tags, trunk
  trunk 12981 over 10 years Aaron Marcuse-Kubitza bugfix: lib/sh/util.sh: die(): usage: documente...
  • svn:ignore: extern

Latest revisions

# Date Author Comment
12981 03/30/2014 05:03 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: die(): usage: documented that if msg uses $(...), save_e is needed

12980 03/30/2014 04:59 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: already_exists_msg(): need to save_e, because new $(mk_hint) call resets $?

12979 03/30/2014 04:55 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: die(): always errexit even if $e = 0, because die always indicates an error

12978 03/30/2014 04:53 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added rethrow!(), which always errexits, even if $e = 0

12977 03/30/2014 04:53 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: rethrow(): also work in situations where $e is not set

12976 03/30/2014 04:50 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: rethrow: made it a function since there is now no need for it to be an alias

12975 03/30/2014 04:47 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: rethrow: removed `test "$e" != 0` since errexit only does anything if $e != 0

12974 03/30/2014 04:45 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: removed separate rethrow_exit*, rethrow_subshell*, since they now do the same thing as rethrow*

12973 03/30/2014 04:42 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: rethrow*!: use new errexit, which works in functions and subshells

12972 03/30/2014 04:38 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: added errexit(), used in place of (exit "$1") because a bug in bash prevents subshells from triggering errexit

View all revisions | View revisions

Also available in: Atom