1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Explicitly set text encoding
(In Ruby 1.9+ without this, you get the message
./pageNumberLookup.rb:229:in `match': invalid byte sequence in US-ASCII (ArgumentError)
and a "successfully" built but nearly empty package)
Author: Rebecca Palmer
Bug-Debian: https://bugs.debian.org/735653
Forwarded: no
--- khronos-opencl-man-1.0~svn25290.orig/xhtml/pageNumberLookup.rb
+++ khronos-opencl-man-1.0~svn25290/xhtml/pageNumberLookup.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/ruby -EUTF-8
# for Ruby 1.9
|