As @adamv said, it won't be fixed upstream, and the build instruction requires one to do exactly that shell command. I wouldn't mind a ruby script instead, though.

How about we submit it and add a task for the future to re-write the grep/sed in ruby?