shebang check: ignore symlinks that point outside the prefix
authorMichael Haubenwallner <haubi@gentoo.org>
Sun, 24 Apr 2011 17:18:03 +0000 (19:18 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sun, 24 Apr 2011 17:18:03 +0000 (19:18 +0200)
commitbe225af8d9aeb6a839f8ff231cbee61d3be45e0f
tree99425b7482f8370f3d383cbfc10f98d94e448323
parent8098ee743006bc4400652bdde8f8db7fa0dffa57
shebang check: ignore symlinks that point outside the prefix

As documented in bug #282539, we can have symlinks that point outside
the prefix.  The targets of those files need not to be checked for their
shebang, as they are obviously not under our control.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
bin/misc-functions.sh