Skip to content

Commit

Permalink
omit misleading version number when using source_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Apr 30, 2023
1 parent f8df989 commit afbe3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_portile2/mini_portile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def source_directory=(path)

def prepare_build_directory
raise "source_directory is not set" if source_directory.nil?
output "Building #{@name} #{@version} from source at '#{source_directory}'"
output "Building #{@name} from source at '#{source_directory}'"
FileUtils.mkdir_p(File.join(tmp_path, [name, version].join("-")))
FileUtils.rm_rf(port_path) # make sure we always re-install
end
Expand Down

0 comments on commit afbe3ea

Please sign in to comment.