Revision 14543
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
1000 | 1000 |
|
1001 | 1001 |
# change dir |
1002 | 1002 |
cmd2rel_path; echo_cmd "$FUNCNAME" "$dir" |
1003 |
# -P: expand symlinks so $PWD matches the output of realpath |
|
1004 |
echo_run self_builtin -P "$dir" |
|
1003 | 1005 |
if can_log; then caller_indent; fi |
1004 |
# -P: expand symlinks so $PWD matches the output of realpath |
|
1005 |
self_builtin -P "$dir" |
|
1006 | 1006 |
|
1007 | 1007 |
func=realpath clear_cache |
1008 | 1008 |
set_paths |
Also available in: Unified diff
fix: lib/sh/util.sh: cd(): indent after running cd rather than before