Project

General

Profile

« Previous | Next » 

Revision 9393

lib/sh/util.sh: cd(): trace-log the cd() function call itself (at log_level 3) in addition to the cd builtin call

View differences:

util.sh
504 504

  
505 505
cd() # indent is permanent within subshell cd was used in
506 506
{
507
	log++ echo_func
507 508
	cmd2rel_path; echo_cmd "$FUNCNAME" "$@"
508 509
	can_log && caller_indent || true
509 510
	# -P: expand symlinks so $PWD matches the output of realpath

Also available in: Unified diff