fix-shebangs: fix regression for symlinked files
authorFabian Groffen <grobian@gentoo.org>
Sat, 20 Aug 2011 18:32:09 +0000 (20:32 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sat, 20 Aug 2011 18:32:09 +0000 (20:32 +0200)
commit0b4156a55f460d501145936fe7d1dec022f5a5f9
treeae2f8ad8c3e0b9e9d192393ae031d2e15a2e95fa
parent7c8aa70f94de389fa452bbc8147de21a1e19a6cb
fix-shebangs: fix regression for symlinked files

The code to check whether symlinked files point outside the prefix was
incorrect.  It didn't include the install image location, hence it
always concluded a symlinked script was pointing to outside the prefix,
leading to bugs like #378515.
bin/misc-functions.sh