From b5dc62d9efce3fd613100427209e9409e80cfc2a Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Tue, 28 Jun 2011 15:20:13 -0700 Subject: [PATCH] fix to build script: gotta strip out new lines from read in version string --- lib/classic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classic.rb b/lib/classic.rb index ba6a47f6..4eeb7e53 100755 --- a/lib/classic.rb +++ b/lib/classic.rb @@ -88,7 +88,7 @@ class Classic # copies stuff from src directory into the android project directory (@path) def copy_libs - version = IO.read(File.join(@framework_dir, '../VERSION')) + version = IO.read(File.join(@framework_dir, '../VERSION')).lstrip.rstrip framework_res_dir = File.join(@framework_dir, "res") app_res_dir = File.join(@path, "res") # copies in the jar