bin/review-pdfmaker in review-5.0.0 vs bin/review-pdfmaker in review-5.1.0

- old
+ new

@@ -5,12 +5,10 @@ # You can distribute or modify this program under the terms of # the GNU LGPL, Lesser General Public License version 2.1. # For details of the GNU LGPL, see the file "COPYING". # -require 'pathname' -bindir = Pathname.new(__FILE__).realpath.dirname -$LOAD_PATH.unshift((bindir + '../lib').realpath) +$LOAD_PATH.unshift(File.realpath('../lib', __dir__)) require 'review/pdfmaker' ReVIEW::PDFMaker.execute(*ARGV)