[med-svn] [manta] 03/04: Move config to /etc
Andreas Tille
tille at debian.org
Mon May 1 06:24:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository manta.
commit 639769edb9e56b8dae1a8e867f453035a18965e8
Author: Andreas Tille <tille at debian.org>
Date: Mon May 1 08:23:30 2017 +0200
Move config to /etc
---
debian/patches/config_path.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/config_path.patch b/debian/patches/config_path.patch
new file mode 100644
index 0000000..17c66a5
--- /dev/null
+++ b/debian/patches/config_path.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 15 Nov 2016 14:29:08 +0100
+Description: Move config to /etc
+
+--- a/src/python/lib/configureOptions.py
++++ b/src/python/lib/configureOptions.py
+@@ -123,7 +123,7 @@ class ConfigureWorkflowOptions(object) :
+ configFileName=cmdlineScriptName+".ini"
+
+ cmdlineScriptDir=os.path.abspath(os.path.dirname(sys.argv[0]))
+- globalConfigPath=os.path.join(cmdlineScriptDir,configFileName)
++ globalConfigPath=os.path.join('/etc/manta',configFileName)
+ updateIniSections(iniSections,getIniSections(globalConfigPath))
+
+ parser=self._getOptionParser(iniSections[primary_section],configFileName, cmdlineScriptDir,
diff --git a/debian/patches/series b/debian/patches/series
index 8e21131..6c1cc14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ use_debian_packaged_zlib.patch
use_debian_packaged_htslib.patch
use_debian_packaged_samtools.patch
fix_comparison.patch
+config_path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/manta.git
More information about the debian-med-commit
mailing list