Revision 14089
Added by Aaron Marcuse-Kubitza over 10 years ago
with_all | ||
---|---|---|
4 | 4 |
# Must be run from the root svn directory. |
5 | 5 |
|
6 | 6 |
isset() # `test "${var+isset}"` doesn't work for empty arrays |
7 |
{ declare -p "$1" >&- 2>&-; }
|
|
7 |
{ declare -p "$1" &>/dev/null; }
|
|
8 | 8 |
|
9 | 9 |
main() |
10 | 10 |
{ |
Also available in: Unified diff
bugfix: bin/with_all: isset(): need to use `&>/dev/null` instead of `>&-`, etc because closing an fd causes declare to return false