From cc0098f24e73fc5f7172218ddc19c43597e168bf Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Mon, 18 Sep 2017 17:03:10 -0400 Subject: Test conda_build 3.x substring bugfix patch --- patches/conda_build_3.0.15_substr_fix2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/conda_build_3.0.15_substr_fix2.patch (limited to 'patches') diff --git a/patches/conda_build_3.0.15_substr_fix2.patch b/patches/conda_build_3.0.15_substr_fix2.patch new file mode 100644 index 0000000..3086592 --- /dev/null +++ b/patches/conda_build_3.0.15_substr_fix2.patch @@ -0,0 +1,11 @@ +--- config.py 2017-09-18 17:22:59.000000000 -0400 ++++ config.py.new 2017-09-18 16:39:48.000000000 -0400 +@@ -370,7 +370,7 @@ + "to preserve croot during path joins") + build_folders = sorted([os.path.basename(build_folder) + for build_folder in get_build_folders(self.croot) +- if os.path.basename(build_folder).startswith(package_name + "_")]) ++ if build_folder[:build_folder.rfind('_')] == package_name]) + if self.dirty and build_folders: + # Use the most recent build with matching recipe name + self._build_id = build_folders[-1] -- cgit