Added fix for using options with = in them with --cli (ex. livecd/gk_mainargs='-...
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 29 Aug 2005 19:38:48 +0000 (19:38 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 29 Aug 2005 19:38:48 +0000 (19:38 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@824 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/catalyst_support.py

index 107ae58765d28980a8637161be1b9394d4ca4db6..9ddafdd35536b0ba8369194f2336e18d99c68815 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.316 2005/08/09 21:44:45 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.317 2005/08/29 19:38:48 wolf31o2 Exp $
+
+  29 Aug 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  modules/catalyst_support.py:
+  Added fix for using options with = in them with --cli (ex.
+  livecd/gk_mainargs='--makeopts=-j3'). Blame Jason Pepas
+  <cell@ices.utexas.edu> for pointing this out to me via email.
 
   09 Aug 2005; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py, targets/support/functions.sh:
index 982971b98eeca58aded2bdc8dadd5f7d3fdca9f6..58c46cbcef7516ba934806ce069c263dd1acd641 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.55 2005/08/09 19:25:08 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/catalyst_support.py,v 1.56 2005/08/29 19:38:48 wolf31o2 Exp $
 
 import sys,string,os,types,re,signal,traceback,md5,time
 selinux_capable = False
@@ -640,7 +640,7 @@ def arg_parse(cmdline):
        #global required_config_file_values
        mydict={}
        for x in cmdline:
-               foo=string.split(x,"=")
+               foo=string.split(x,"=",1)
                if len(foo)!=2:
                        raise CatalystError, "Invalid arg syntax: "+x