summaryrefslogtreecommitdiff
path: root/debian/patches/no_commandline_arguments.patch
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 20:52:02 +0200
committerLuca Falavigna <dktrkranz@ubuntu.com>2009-08-01 20:52:02 +0200
commit4ef312e07bb9c774a89eb4b755feabfc151351a8 (patch)
treecbe5eac71a0b94ad96ac1dcbf21e5189a1555a10 /debian/patches/no_commandline_arguments.patch
parent51ed09d22b333546228172433dcc41af1ea02645 (diff)
Adhere to DEP3
Diffstat (limited to 'debian/patches/no_commandline_arguments.patch')
-rw-r--r--debian/patches/no_commandline_arguments.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/no_commandline_arguments.patch b/debian/patches/no_commandline_arguments.patch
new file mode 100644
index 0000000..3941f00
--- /dev/null
+++ b/debian/patches/no_commandline_arguments.patch
@@ -0,0 +1,18 @@
+Description: Fix an exception when a null command-line argument is passed in
+Origin: Ubuntu
+Bug-Ubuntu: https://launchpad.net/bugs/338492
+Forwarded: http://scons.tigris.org/issues/show_bug.cgi?id=2368
+
+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)