aboutsummaryrefslogtreecommitdiff
path: root/patches/conda_build_2.1.1_substr_fix_py3.patch
blob: fdfe7efd504ec116af992c7e7633f50ff76030dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- config.py	2017-04-21 21:51:11.000000000 -0400
+++ config.py.fixed	2017-04-21 21:53:21.000000000 -0400
@@ -231,7 +231,7 @@
             assert not os.path.isabs(package_name), ("package name should not be a absolute path, "
                                                      "to preserve croot during path joins")
             build_folders = sorted([build_folder for build_folder in get_build_folders(self.croot)
-                                if package_name in build_folder])
+                                if build_folder.startswith(package_name + "_")])
 
             if self.dirty and build_folders:
                 # Use the most recent build with matching recipe name