From e0cd473d0681da109da341a8422f99c3ba4e0487 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Sun, 11 Jan 2015 20:01:51 +0100 Subject: sys-cluster/htcondo: Add Apply-the-user-s-condor_config-last-rather-than-first-8.3.2.patch --- ...ondor_config-last-rather-than-first-8.3.2.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sys-cluster/htcondor/files/Apply-the-user-s-condor_config-last-rather-than-first-8.3.2.patch (limited to 'sys-cluster') diff --git a/sys-cluster/htcondor/files/Apply-the-user-s-condor_config-last-rather-than-first-8.3.2.patch b/sys-cluster/htcondor/files/Apply-the-user-s-condor_config-last-rather-than-first-8.3.2.patch new file mode 100644 index 000000000..bedd7c595 --- /dev/null +++ b/sys-cluster/htcondor/files/Apply-the-user-s-condor_config-last-rather-than-first-8.3.2.patch @@ -0,0 +1,25 @@ +--- src/condor_utils/condor_config.cpp 2014-12-23 18:18:42.000000000 +0100 ++++ src/condor_utils/condor_config.cpp 2015-01-11 19:59:17.000000000 +0100 +@@ -1454,18 +1454,14 @@ find_file(const char *env_name, const ch + if (!config_source) { + // List of condor_config file locations we'll try to open. + // As soon as we find one, we'll stop looking. +- const int locations_length = 4; ++ const int locations_length = 3; + MyString locations[locations_length]; +- // 1) $HOME/.condor/condor_config +- // $HOME/.condor/condor_config was added for BOSCO and never used, We are removing it in 8.3.1, but may put it back if users complain. +- //find_user_file(locations[0], file_name, false); +- // 2) /etc/condor/condor_config +- locations[1].formatstr( "/etc/%s/%s", myDistro->Get(), file_name ); ++ locations[0].formatstr( "/etc/%s/%s", myDistro->Get(), file_name ); + // 3) /usr/local/etc/condor_config (FreeBSD) +- locations[2].formatstr( "/usr/local/etc/%s", file_name ); ++ locations[1].formatstr( "/usr/local/etc/%s", file_name ); + if (tilde) { + // 4) ~condor/condor_config +- locations[3].formatstr( "%s/%s", tilde, file_name ); ++ locations[2].formatstr( "%s/%s", tilde, file_name ); + } + + int ctr; -- cgit v1.2.3-18-g5258