From 9354b429f3280b1fde110a34d2ceae4ca47b0dee Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Mon, 24 Jan 2011 15:51:26 -0800 Subject: [PATCH] Fix for ticket #55: if phonegap source was on a path with "bin" in it would cause major fail. --- bin/droidgap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/droidgap b/bin/droidgap index dc75bbdd..2ab56d66 100755 --- a/bin/droidgap +++ b/bin/droidgap @@ -1,5 +1,5 @@ #!/usr/bin/env ruby -ROOT = File.expand_path(File.dirname(__FILE__).gsub('bin','')) +ROOT = File.expand_path(File.dirname(__FILE__).gsub(/bin$/,'')) require 'fileutils' require File.join(ROOT, "lib", "generate.rb") require File.join(ROOT, "lib", "classic.rb")