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

- old
+ new

@@ -7,13 +7,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__)) PREDEF_FILE = 'PREDEF'.freeze def main @provided = parse_predefined