From: Michał Bartoszkiewicz Date: Wed, 5 Oct 2011 18:47:32 +0000 (+0200) Subject: Poprawka względnych ścieżek. X-Git-Tag: v1.0~5 X-Git-Url: https://git.bzium.org/embe/man-symlinker.git/commitdiff_plain/e80b2df1b1a4d031ce320b819b4230c677370aaa Poprawka względnych ścieżek. --- diff --git a/man-symlinker b/man-symlinker index 5299829..e337c6d 100755 --- a/man-symlinker +++ b/man-symlinker @@ -12,7 +12,8 @@ MAX_LEN = 1024 SO_RE = re.compile(r'^\.so\s+(.*)$') def process_file(name): - m = MAN_NAME_RE.search(name) + full_name = os.path.join(os.getcwd(), name) + m = MAN_NAME_RE.search(full_name) if not m: return False category = m.group(1)