X-Git-Url: https://git.bzium.org/embe/man-symlinker.git/blobdiff_plain/c010ee2581fa29514389af2201ec82f11f6ae2b3..b073943b6e28ed5bf0db728fc81d2f62bc730a52:/man-symlinker?ds=sidebyside 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)