Revision 9268
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/util.run | ||
---|---|---|
26 | 26 |
on_exit() { run_args_cmd; } |
27 | 27 |
trap on_exit EXIT |
28 | 28 |
|
29 |
set_paths__util_run() |
|
29 |
func_override set_paths__util_sh |
|
30 |
set_paths() |
|
30 | 31 |
{ |
32 |
set_paths__util_sh "$@" |
|
31 | 33 |
top_file="${top_script%[./]run}"; echo_vars top_file |
32 | 34 |
top_filename="$(basename "$top_file")"; echo_vars top_filename |
33 | 35 |
} |
34 |
set_paths__util_run
|
|
36 |
set_paths |
|
35 | 37 |
|
36 | 38 |
fi |
Also available in: Unified diff
lib/runscripts/util.run: added setting of $top_file, $top_filename to set_paths()