Permalink
Browse files

Merge pull request #8 from t3rmin4t0r/master

Allow bin/crxmake to run in-place
  • Loading branch information...
2 parents 0bae76f + e869571 commit 7d176dedb2535ba93b28316187e1ee2804fc1efb @Constellation committed Jan 18, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/crxmake
View
@@ -2,7 +2,12 @@
# vim: fileencoding=utf-8
require 'rubygems'
require 'optparse'
-require 'crxmake'
+begin
+ require 'crxmake'
+rescue LoadError
+ # require_relative is 1.9 only
+ require File.expand_path("../../lib/crxmake", __FILE__)
+end
data = {}
usage = <<-EOS

0 comments on commit 7d176de

Please sign in to comment.