Revision 9038
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
90 | 90 |
eval "$to${from_def#$from}" |
91 | 91 |
} |
92 | 92 |
|
93 |
func_override () # usage: func_override old_name__suffix |
|
94 |
{ from="${1%%__*}" to="$1" copy_func; } |
|
93 | 95 |
|
96 |
|
|
94 | 97 |
#### integers |
95 | 98 |
|
96 | 99 |
let () { builtin let "$@" || true; } |
Also available in: Unified diff
lib/sh/util.sh: added func_override (), for use in runscript inheritance