Bug#828933: Improve check to determine if the package installs a new interpreter
On Wednesday, June 29 2016, Jakub Wilk wrote:
> Control: tags -1 + pending
>
> * Sergio Durigan Junior <sergiodj@sergiodj.net>, 2016-06-29, 01:18:
>> the current check to see if there is a new interpreter being
>> installed is incomplete, because it assumes that the executable file
>> will be in the toplevel directory.
>
> Not quite. The code worked in the usual case when full interpreter
> path was specified, i.e. "#!/usr/bin/foo", but not for "#!/usr/bin/env
> foo".
Hm, alright. Indeed, the case that was failing with me was exactly the
"#!/usr/bin/env foo".
> I've committed a different fix for the latter case.
Thanks!
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/
Reply to: