-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, When editing Linux config with split-config script, only the first chnaged option is registered. I don't think this is the good behaviour. Here is the patch to fix this. Best regards, Jean - -- - ------------------------------------------------------------------------ Kerrighed inside - OSCAR outside http://kerrighed.org/ http://oscar.openclustergroup.org/ - ------------------------------------------------------------------------ Jean PARPAILLON - Engineer - PARIS group - Office E210 IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France Tél: +33 2 99 84 22 33, Fax: +33 2 99 84 71 71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG0qGZ8P+pSEjr0u4RAtSmAJ0RfdPxa+4hSunWESB2zXRlM0aNPACggEZY iQeALPH4jR86S2Tqqs0zoks= =vmmn -----END PGP SIGNATURE-----
Index: split-config =================================================================== --- split-config (révision 9384) +++ split-config (copie de travail) @@ -73,7 +73,7 @@ added = (to.keys - same).collect removed = (from.keys - same).collect - changed = same.detect { |key| from[key] != to[key] } + changed = same.find_all { |key| from[key] != to[key] } [ added, removed, changed ] end
Attachment:
fix_changed_option.diff.sig
Description: Binary data
begin:vcard fn:Parpaillon Jean n:Jean;Parpaillon org:IRISA - INRIA;Kerrighed Project adr:;;Campus de Beaulieu;Rennes Cedex;;35042;France email;internet:jean.parpaillon@irisa.fr tel;work:+33299842233 tel;fax:+33299847171 version:2.1 end:vcard