Skip to content

Commit

Permalink
python3: tighten '2to3' check
Browse files Browse the repository at this point in the history
Fixes Homebrew#14179.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel authored and fgeller committed Aug 22, 2012
1 parent 2e16f0b commit 639f35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Formula/python3.rb
Expand Up @@ -113,7 +113,7 @@ def install
ln_s "#{bin}/python3.2", "#{bin}/python3" unless (bin/"python3").exist?

# Python 2 has a 2to3, too. (https://github.com/mxcl/homebrew/issues/12581)
rm bin/"2to3" if (HOMEBREW_PREFIX/"bin/2to3").exist?
rm bin/"2to3" if (HOMEBREW_PREFIX/"bin/2to3").exist? and (bin/"2to3").exist?

# Tell distutils-based installers where to put scripts
scripts_folder.mkpath
Expand Down

0 comments on commit 639f35f

Please sign in to comment.