From e80b2df1b1a4d031ce320b819b4230c677370aaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Bartoszkiewicz?= Date: Wed, 5 Oct 2011 20:47:32 +0200 Subject: [PATCH] =?utf8?q?Poprawka=20wzgl=C4=99dnych=20=C5=9Bcie=C5=BCek.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- man-symlinker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.45.2