fix to build script: gotta strip out new lines from read in version string

This commit is contained in:
Fil Maj 2011-06-28 15:20:13 -07:00
parent f3d7ce8fc3
commit b5dc62d9ef

View File

@ -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