Project

General

Profile

« Previous | Next » 

Revision 13269

lib/sh/util.sh: unalias(): use self_builtin, which is now defined before it

View differences:

util.sh
313 313

  
314 314
#### commands
315 315

  
316
type() { (unalias "$1"; self_builtin "$1") || return; } # alias already expanded
317

  
316 318
is_callable() { type -t "$1" >/dev/null; }
317 319

  
318 320
is_extern() { test "$(type -t "$1")" = file; }

Also available in: Unified diff