From b073943b6e28ed5bf0db728fc81d2f62bc730a52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Bartoszkiewicz?= Date: Wed, 5 Oct 2011 20:40:22 +0200 Subject: [PATCH 1/1] =?utf8?q?Poprawka=20dla=20link=C3=B3w=20bez=20katalog?= =?utf8?q?u.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- man-symlinker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man-symlinker b/man-symlinker index bb52842..5299829 100755 --- a/man-symlinker +++ b/man-symlinker @@ -32,7 +32,7 @@ def process_file(name): return False if link.startswith(dir_name+'/'): link = link[len(dir_name)+1:] - else: + elif '/' in link: link = '../' + link os.unlink(name) os.symlink(link, name) -- 2.45.2