Revision 14708
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sh | ||
---|---|---|
729 | 729 |
{ |
730 | 730 |
kw_params base_dir; local path="$1" base_dir="${base_dir-$PWD}" |
731 | 731 |
base_dir="$(realpath "$base_dir")" || return |
732 |
local path; path="$(realpath "$path")" || return
|
|
732 |
path="$(realpath "$path")" || return |
|
733 | 733 |
rel_path |
734 | 734 |
} |
735 | 735 |
|
Also available in: Unified diff
bugfix: lib/sh/util.sh: canon_rel_path(): don't re-localize $path because this clears it