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



commit 6449d90816654c74ad5c8837718551400b259b8c
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Jun 29 12:29:41 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 8450cdc..96cf6d7 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]