Revision 13203
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/runscripts/util.run | ||
---|---|---|
66 | 66 |
set_paths() |
67 | 67 |
{ |
68 | 68 |
set_paths__util_sh "$@" |
69 |
log_local; log++ |
|
69 | 70 |
top_file="${top_script%[./]run}"; echo_vars top_file |
70 | 71 |
top_filename="$(basename "$top_file")"; echo_vars top_filename |
71 | 72 |
} |
trunk/lib/sh/util.sh | ||
---|---|---|
960 | 960 |
|
961 | 961 |
set_paths() |
962 | 962 |
{ |
963 |
log_local; log++ |
|
963 | 964 |
top_script="$(log++ canon_rel_path "$top_script_abs")" || return |
964 | 965 |
echo_vars top_script |
965 | 966 |
top_dir="$(dirname "$top_script")" || return; echo_vars top_dir |
Also available in: Unified diff
lib/sh/util.sh, runscripts/util.run: set_paths(): run with higher log_level to hide all the paths that are set at the beginning of the script