Project

General

Profile

« Previous | Next » 

Revision 13178

lib/sh/util.sh: is_callable(): use just $1 because multiple args are not applicable

View differences:

trunk/lib/sh/util.sh
148 148

  
149 149
#### commands
150 150

  
151
is_callable() { type -t "$@" >/dev/null; }
151
is_callable() { type -t "$1" >/dev/null; }
152 152

  
153 153
is_extern() { test "$(type -t "$1")" = file; }
154 154

  

Also available in: Unified diff