From 581ccf4f87ba477ebf8d5d5f77bab3e484d24f79 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 14 Aug 2012 15:21:50 -0500 Subject: python: tighten '2to3' check Signed-off-by: Jack Nagel --- Library/Formula/python.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/python.rb') diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb index 804a6f6fd..ef677ff30 100644 --- a/Library/Formula/python.rb +++ b/Library/Formula/python.rb @@ -116,7 +116,7 @@ class Python < Formula # Python 3 has a 2to3, too. Additionally there still is a 2to3-2.7. # (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 -- cgit v1.2.3