Revision 9307
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/sh/util.sh | ||
---|---|---|
418 | 418 |
{ |
419 | 419 |
cmd2rel_path; echo_cmd "$FUNCNAME" "$@" |
420 | 420 |
can_log && caller_indent || true |
421 |
# -P: expand symlinks so $PWD matches the output of realpath |
|
421 | 422 |
builtin "$FUNCNAME" -P "$@" |
422 | 423 |
set_paths |
423 | 424 |
} |
Also available in: Unified diff
lib/sh/util.sh: cd(): documented what -P option does and why it's used