Project

General

Profile

« Previous | Next » 

Revision 9038

lib/sh/util.sh: added func_override (), for use in runscript inheritance

View differences:

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