Revision 11425
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sh | ||
---|---|---|
125 | 125 |
|
126 | 126 |
#### commands |
127 | 127 |
|
128 |
is_dot_script() { echo_func; test "${BASH_LINENO[${#BASH_LINENO[@]}]}" != 0; } |
|
129 |
|
|
128 | 130 |
sys_cmd_path() { echo_func; echo_builtin command -p which "$1"|echo_stdout; } |
129 | 131 |
|
130 | 132 |
# makes command in $1 a system command |
Also available in: Unified diff
lib/sh/util.sh: added is_dot_script()