lib/fig/environment.rb in fig-0.1.64 vs lib/fig/environment.rb in fig-0.1.65

- old
+ new

@@ -328,10 +328,10 @@ get_retrieve_path_with_substitution(variable_name, base_package) # A '//' in the variable value tells us to preserve path # information after the '//' when doing a retrieve. if variable_value.include? '//' - preserved_path = variable_value.split('//').last + preserved_path = variable_value.split('//', -1).last return File.join(retrieve_path, preserved_path) end if File.directory?(variable_value)