[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-81-gc7413a5

Sandro Tosi morph at debian.org
Sun Nov 6 10:51:09 UTC 2011


The following commit has been merged in the master branch:
commit 9b41228396f5465a20f926b5d3ce76f3396d3cc2
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Nov 6 03:04:00 2011 +0100

    don't run handle_bugscript in the current directory, ever

diff --git a/bin/reportbug b/bin/reportbug
index 7fe1c78..b0463ac 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -2022,10 +2022,7 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
         if self.options.bugscript and bugexec and not self.options.kudos:
             # add a warning, since it can take a while, 587952
             ewrite("Gathering additional data, this may take a while...\n")
-            if os.path.exists('handle_bugscript'):
-                handler = './handle_bugscript'
-            else:
-                handler = '/usr/share/reportbug/handle_bugscript'
+            handler = '/usr/share/reportbug/handle_bugscript'
 
             fh, filename = TempFile(prefix=tfprefix, dir=self.options.draftpath)
             fh.close()

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list