[orca/gnome-3-0] Fix for bug 653624 - bash-ism causes error in orca startup script



commit 89869502aba89e9f04b465d007d2b33a95d919d4
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Jun 29 12:37:31 2011 -0400

    Fix for bug 653624 - bash-ism causes error in orca startup script

 src/orca/orca.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/orca.in b/src/orca/orca.in
index 2187cef..3e2dba5 100644
--- a/src/orca/orca.in
+++ b/src/orca/orca.in
@@ -133,8 +133,8 @@ runOrca()
 if [ "x$LOGNAME" != "xgdm" ] ; then
     ACCESSIBILITY_ENABLED=`gsettings \
         get org.gnome.desktop.interface toolkit-accessibility`
-    if [[ "x$ACCESSIBILITY_ENABLED" != "xtrue" && \
-          `echo $ARGS | grep -c "no-setup"` -eq 0 ]]; then
+    if [ "x$ACCESSIBILITY_ENABLED" != "xtrue" ] &&
+       [ `echo $ARGS | grep -c "no-setup"` -eq 0 ]; then
         # Because we will be running Orca in text-setup mode, we want to
         # make sure it is run in a terminal window.  If we're already in
         # a terminal, this is great.  If not, we spawn a gnome-terminal



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