Common subdirectories: epm.orig/CVS and epm/CVS Common subdirectories: epm.orig/doc and epm/doc Only in epm: epm.list diff -w -r -c epm.orig/mkepmlist.in epm/mkepmlist.in *** epm.orig/mkepmlist.in Mon Feb 18 14:22:52 2002 --- epm/mkepmlist.in Mon Feb 18 12:48:08 2002 *************** *** 46,52 **** @st = stat($dir); ($absdir) = ($dir =~ /$basedir\/?(.*)/); ! $absdir = $instdir . $absdir; $fullpath = $absdir; --- 46,58 ---- @st = stat($dir); ($absdir) = ($dir =~ /$basedir\/?(.*)/); ! if ($absdir ne "") ! { ! $absdir = $instdir . '/' . $absdir; ! } else ! { ! $absdir = $instdir; ! } $fullpath = $absdir; *************** *** 77,82 **** --- 83,93 ---- elsif (-l $instpath) { my($linkto) = readlink($instpath); + if (substr($linkto, 0, 1) ne "/") + { + # in case of a relative link, add the target directory + $linkto = $absdir . '/' . $linkto; + } printf("l 0%0o %s %s %s %s\n", $st[2] & 07777, get_user($st[4]), Common subdirectories: epm.orig/doc/CVS and epm/doc/CVS Only in epm/doc: Makefile