blob: a5be27c4dc51e76302e838dc63799e58b3e88d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|