32 # return DBRBaselineEnv(location) |
33 # return DBRBaselineEnv(location) |
33 print 'loading patched baseline environment' |
34 print 'loading patched baseline environment' |
34 return DBRPatchedBaselineEnv(location) |
35 return DBRPatchedBaselineEnv(location) |
35 if(os.path.exists(os.path.join(location,'build_md5.zip'))): |
36 if(os.path.exists(os.path.join(location,'build_md5.zip'))): |
36 print 'loading zipped environment' |
37 print 'loading zipped environment' |
|
38 return DBRZippedEnv(location) |
|
39 if(re.match('http://.+',location, re.IGNORECASE)): |
|
40 print 'loading remote zipped environment' |
37 return DBRZippedEnv(location) |
41 return DBRZippedEnv(location) |
38 if(os.path.exists(os.path.join(location,dbrutils.patch_path_internal()))): #should do something more fun with creating a basleine if we have MD5s |
42 if(os.path.exists(os.path.join(location,dbrutils.patch_path_internal()))): #should do something more fun with creating a basleine if we have MD5s |
39 print 'loading new env...warning: this is only here for compatibility' |
43 print 'loading new env...warning: this is only here for compatibility' |
40 return DBRNewLocalEnv(location) |
44 return DBRNewLocalEnv(location) |
41 if(os.path.exists(os.path.join(location,'epoc32'))): |
45 if(os.path.exists(os.path.join(location,'epoc32'))): |