Package: gem2deb
Version: 0.17
Severity: normal

While refreshing "opennebula" packaging I wanted to use dh_ruby to update 
existing shebangs "#!/usr/bin/env ruby" as follows:

    DH_RUBY_USE_DH_AUTO_INSTALL_DESTDIR=1 dh_ruby --install debian/tmp

(XS-Ruby-Versions: all).
Opennebula install mix of Ruby, shell and ELF executables to "/usr/bin".
To my surprise dh_ruby added "#!/usr/bin/ruby" shebang to all ELF binaries.
dh_ruby was able to skip only shell scripts ("#!/bin/bash" and "#!/bin/sh").

Please introduce checks/safeguards to avoid corrupting ELF binaries.

-- 
Regards,
 Dmitry Smirnov

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to