Project

General

Profile

« Previous | Next » 

Revision 9188

lib/sh/util.sh: $top_script: run canon_rel_path on $0

View differences:

util.sh
410 410

  
411 411
#### commands
412 412

  
413
top_script="$0" # outermost script
413
top_script="$(canon_rel_path "$0")" # outermost script
414 414
top_dir="$(dirname "$top_script")"
415 415

  
416 416
require_not_exists() # usage: require_not_exists file || return 0

Also available in: Unified diff