Author: mvidner Date: Mon Sep 14 13:47:49 2009 New Revision: 58631 URL: http://svn.opensuse.org/viewcvs/yast?rev=58631&view=rev Log: YaST would not start from the GNOME menu (Unknown option -S) bnc#537470. Modified: trunk/yast2/VERSION trunk/yast2/package/yast2.changes trunk/yast2/scripts/yast2 Modified: trunk/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=58631&r1=58630&r2=58631&view=diff ============================================================================== --- trunk/yast2/VERSION (original) +++ trunk/yast2/VERSION Mon Sep 14 13:47:49 2009 @@ -1 +1 @@ -2.18.24 +2.18.25 Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=58631&r1=58630&r2=58631&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Mon Sep 14 13:47:49 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Sep 14 13:46:56 CEST 2009 - mvidner@suse.cz + +- YaST would not start from the GNOME menu (Unknown option -S) bnc#537470. +- 2.18.25 + +------------------------------------------------------------------- Mon Sep 7 15:20:03 CEST 2009 - jsuchome@suse.cz - package new YaPI file SERVICES.pm (fate #306696) Modified: trunk/yast2/scripts/yast2 URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/scripts/yast2?rev=58631&r1=58630&r2=58631&view=diff ============================================================================== --- trunk/yast2/scripts/yast2 (original) +++ trunk/yast2/scripts/yast2 Mon Sep 14 13:47:49 2009 @@ -243,10 +243,13 @@ # Pass the arguments to WFM::Args(): # Surround all args by (...). args may contain spaces. # Use -S to avoid YCP escaping (bnc#382883) -a=("$@") -b=("${a[@]/#/(}") -c=("${b[@]/%/)}") -set -- -S "${c[@]}" +# But avoid a lone -S (cc-gnome dies, bnc#537470) +if [ $# -gt 0 ]; then + a=("$@") + b=("${a[@]/#/(}") + c=("${b[@]/%/)}") + set -- -S "${c[@]}" +fi case "`basename $0`" in YaST|yast|yast1|zast) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org