From: Chris Gianelloni Date: Mon, 29 Aug 2005 19:38:48 +0000 (+0000) Subject: Added fix for using options with = in them with --cli (ex. livecd/gk_mainargs='-... X-Git-Tag: CATALYST_2_0_6_916~670 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=72f37276c6b6d5e27bf3b1507f62a31ce737f15c;p=catalyst.git Added fix for using options with = in them with --cli (ex. livecd/gk_mainargs='--makeopts=-j3'). Blame Jason Pepas for pointing this out to me via email. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@824 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 107ae587..9ddafdd3 100644 --- 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 + modules/catalyst_support.py: + Added fix for using options with = in them with --cli (ex. + livecd/gk_mainargs='--makeopts=-j3'). Blame Jason Pepas + for pointing this out to me via email. 09 Aug 2005; Eric Edgar modules/generic_stage_target.py, targets/support/functions.sh: diff --git a/modules/catalyst_support.py b/modules/catalyst_support.py index 982971b9..58c46cbc 100644 --- a/modules/catalyst_support.py +++ b/modules/catalyst_support.py @@ -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