Hi, When patch-shebang encounters a script that is a symlink, say bin/script -> ../lib/foo/thescript it will change it into a file with rewritten #! . That breaks whenever `thescript' assumes it lives in lib/foo. Attached is a patch that has patch-shebangs skip symlinks. Greetings, Jan