Project

General

Profile

« Previous | Next » 

Revision 9724

lib/sh/util.sh: added $top_dir_abs, $top_dir_orig

View differences:

util.sh
580 580

  
581 581
#### paths
582 582

  
583
top_dir_orig="$(dirname "$0")"; echo_vars top_dir_orig
584

  
583 585
top_script_abs="$(realpath "$0")"; echo_vars top_script_abs # outermost script
584 586
	# realpath this before doing any cd so this points to the right place
587
top_dir_abs="$(dirname "$top_script_abs")"; echo_vars top_dir_abs
585 588

  
586 589
set_paths()
587 590
{

Also available in: Unified diff