Home | History | Annotate | Download | only in tools

Lines Matching refs:relative

690 # Form the relative path between from one abs path to another
696 # http://stackoverflow.com/questions/2564634/bash-convert-absolute-path-into-relative-path-given-a-current-directory
708 relative=''
712 relative="${relative:-.}"
713 echo "${relative#/}"
717 relative="$relative${relative:+/}.."
719 relative="$relative${relative:+${appendix:+/}}${appendix#/}"
720 echo "$relative"