Revision 9019
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
195 | 195 |
fi |
196 | 196 |
} |
197 | 197 |
|
198 |
echo_export () |
|
199 |
{ |
|
200 |
builtin export "$@" |
|
201 |
echo_vars "$@" |
|
202 |
} |
|
198 |
echo_export () { builtin export "$@"; echo_vars "$@"; } |
|
203 | 199 |
|
204 | 200 |
if test "$verbosity" -ge 2; then |
205 | 201 |
alias export="echo_export" # automatically echo env vars when they are set |
Also available in: Unified diff
*{.sh,run}: put functions on one line where possible (and where they are not expected to expand)