Skip to content

Commit

Permalink
replace unless with if not
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette committed Dec 20, 2024
1 parent 1920385 commit 217743f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omnibus/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def configure(*args)

# Accept a prefix override if provided. Can be set to '' to suppress
# this functionality.
default_prefix = unless windows? then "#{install_dir}/embedded" else python_3_embedded end
default_prefix = if !windows? then "#{install_dir}/embedded" else python_3_embedded end
prefix = options.delete(:prefix) || default_prefix
configure_cmd << "--prefix=#{prefix}" if prefix && prefix != ""

Expand Down

0 comments on commit 217743f

Please sign in to comment.