Project

General

Profile

« Previous | Next » 

Revision 9024

lib/sh/util.sh: added func_exists ()

View differences:

lib/sh/util.sh
83 83

  
84 84
#### functions
85 85

  
86
func_exists () { declare -f "$1" >/dev/null; }
87

  
86 88
copy_func () # usage: from=... to=... copy_func
87 89
{
88 90
	: "${from:?}" "${to:?}"

Also available in: Unified diff