Revision 9793
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/local.sh | ||
---|---|---|
7 | 7 |
|
8 | 8 |
root_dir="$(canon_rel_path "$(dirname "${BASH_SOURCE[0]}")"/../..)" || return |
9 | 9 |
|
10 |
root_rel_path() { base_dir="$root_dir" canon_rel_path "$1"; } |
|
10 |
root_rel_path() { echo_func; base_dir="$root_dir" canon_rel_path "$1"; }
|
|
11 | 11 |
|
12 | 12 |
bin_dir="$root_dir"/bin |
13 | 13 |
bin_dir_abs="$(realpath "$bin_dir")" || return |
Also available in: Unified diff
bugfix: lib/sh/local.sh: root_rel_path(): added echo_func