Revision 14065
Added by Aaron Marcuse-Kubitza over 10 years ago
with_all | ||
---|---|---|
3 | 3 |
# Creates a job in the calling shell for each process. |
4 | 4 |
# Must be run from the root svn directory. |
5 | 5 |
|
6 |
isset() { declare -p "$1" &>-; } # "${var+isset}" doesn't work for empty arrays |
|
6 |
isset() # `test "${var+isset}"` doesn't work for empty arrays |
|
7 |
{ declare -p "$1" >&- 2>&-; } |
|
7 | 8 |
|
8 | 9 |
main() |
9 | 10 |
{ |
Also available in: Unified diff
bugfix: bin/with_all: isset(): need to use `>&- 2>&-` because &> does not work with - as the dest