diff -urN make-orig/relative_path.sh make/relative_path.sh --- make-orig/relative_path.sh Sat Apr 6 20:25:09 2002 +++ make/relative_path.sh Mon Apr 8 10:01:12 2002 @@ -103,7 +103,7 @@ tmp_IFS="$IFS" IFS=/ for component in $a; do - if [ -n "$component" ]; then + if [ -n "$component" -a "$component" != "." ]; then if [ -z "$result" ]; then result=".." else @@ -120,4 +120,4 @@ result="$b" fi -echo "$result" \ No newline at end of file +echo "$result"