X-Git-Url: https://git.bzium.org/embe/man-symlinker.git/blobdiff_plain/a5b19f03b5b69156c4e3fb3c085c6b08e03f9d81..7e14ba25a59c3a2fed60595e383bea156627cd89:/man-symlinker?ds=sidebyside diff --git a/man-symlinker b/man-symlinker index ff28a36..aa90e38 100755 --- a/man-symlinker +++ b/man-symlinker @@ -12,7 +12,7 @@ MAX_LEN = 1024 SO_RE = re.compile(r'^\.so\s+(.*)$') def process_file(name): - full_name = os.path.join(os.getcwd(), name) + full_name = os.path.abspath(name) m = MAN_NAME_RE.search(full_name) if not m: return False