Revision 12196
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
36 | 36 |
#### options |
37 | 37 |
|
38 | 38 |
shopt -s expand_aliases |
39 |
# allow setting vars in the last command of a pipeline |
|
40 |
shopt -s lastpipe || true # ignore errors if not supported (eg. on Mac) |
|
39 | 41 |
|
40 | 42 |
|
41 | 43 |
#### stubs |
Also available in: Unified diff
lib/sh/util.sh: set `shopt -s lastpipe`, to allow setting vars in the last command of a pipeline