orca r3848 - in branches/gnome-2-22: . src/orca



Author: wwalker
Date: Thu Apr 24 20:01:58 2008
New Revision: 3848
URL: http://svn.gnome.org/viewvc/orca?rev=3848&view=rev

Log:
Make orca_console_prefs work again.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/orca/orca.in

Modified: branches/gnome-2-22/src/orca/orca.in
==============================================================================
--- branches/gnome-2-22/src/orca/orca.in	(original)
+++ branches/gnome-2-22/src/orca/orca.in	Thu Apr 24 20:01:58 2008
@@ -270,11 +270,14 @@
         # erroneously types an illegal command line argument, the
         # help text is emitted and the other orca is not killed.
         #
-        if [ `egrep -c "\-s|\-g|\-t|\-n|\-u|\-e|\-d" <<< $ARGS` -eq 0 ]
+        if [ `egrep -c "\-s|\-g|\-n|\-u|\-e|\-d" <<< $ARGS` -eq 0 ]
         then
-            runOrca "NO_CLEANUP" &
-            orca_pid=$!
-            wait $orca_pid
+            if [ `egrep -c "\-t" <<< $ARGS` -eq 0 ]
+            then
+                runOrca "NO_CLEANUP"
+            else
+                runOrca
+            fi
         else
             runOrca &
             orca_pid=$!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]