summaryrefslogtreecommitdiff
path: root/debian/patches/no_commandline_arguments
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 18:01:34 +0200
committerLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 18:01:34 +0200
commit0385d3705bec1a9b42f0dc3ffeecbb34a5be9756 (patch)
tree13c8055c853498037281957f2ac2d63562b4f70f /debian/patches/no_commandline_arguments
Initial import of scons Debian packaging version 1.2.0-21.2.0-2
Diffstat (limited to 'debian/patches/no_commandline_arguments')
-rw-r--r--debian/patches/no_commandline_arguments17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/no_commandline_arguments b/debian/patches/no_commandline_arguments
new file mode 100644
index 0000000..a5be27c
--- /dev/null
+++ b/debian/patches/no_commandline_arguments
@@ -0,0 +1,17 @@
+Description: Fix an exception when a null command-line argument is passed in.
+Upstream bug: http://scons.tigris.org/issues/show_bug.cgi?id=2368
+Ubuntu bug: https://launchpad.net/bugs/338492
+
+Index: scons-1.2.0/engine/SCons/Script/Main.py
+===================================================================
+--- scons-1.2.0.orig/engine/SCons/Script/Main.py 2009-03-06 08:13:35.000000000 +0000
++++ scons-1.2.0/engine/SCons/Script/Main.py 2009-03-06 08:13:57.000000000 +0000
+@@ -869,7 +869,7 @@
+ targets = []
+ xmit_args = []
+ for a in parser.largs:
+- if a[0] == '-':
++ if a[:1] == '-':
+ continue
+ if '=' in a:
+ xmit_args.append(a)