Project

General

Profile

« Previous | Next » 

Revision 13204

lib/sh/util.sh: is_dot_script(): run with higher log_level since this is run at the beginning of the script

View differences:

trunk/lib/sh/util.sh
160 160

  
161 161
is_intern() { is_callable "$1" && ! is_extern "$1"; }
162 162

  
163
is_dot_script() { echo_func; test "${BASH_LINENO[${#BASH_LINENO[@]}-1]}" != 0; }
163
is_dot_script()
164
{ log_local;log++; echo_func; test "${BASH_LINENO[${#BASH_LINENO[@]}-1]}" != 0;}
164 165

  
165 166
require_dot_script() # usage: require_dot_script || return
166 167
{

Also available in: Unified diff