Fixes #670
This commit is contained in:
		
							parent
							
								
									f5124de327
								
							
						
					
					
						commit
						f579b6f971
					
				| @ -70,6 +70,12 @@ int main (int argc, char *argv[]) { | ||||
|                 file_has_pbf_format = true; | ||||
|             } | ||||
|         } | ||||
|         if(pos==std::string::npos) { | ||||
|             pos = output_file_name.find(".pbf"); | ||||
|             if(pos!=std::string::npos) { | ||||
|                 file_has_pbf_format = true; | ||||
|             } | ||||
|         } | ||||
|         if(pos!=std::string::npos) { | ||||
|             output_file_name.replace(pos, 8, ".osrm"); | ||||
|             restrictionsFileName.replace(pos, 8, ".osrm.restrictions"); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user