blob: 4e190ebb6ff3c5e37f93f5546c1d31de071e19c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-aa,v 1.3 2009/05/19 23:53:11 wiz Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=583274
--- src/orca/orca.in.orig 2008-10-14 22:49:59.000000000 +0000
+++ src/orca/orca.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Orca
#
@@ -30,7 +30,7 @@
# Set the user's $PATH for this script.
#
-export PATH="${PATH}:/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/X11R6/bin"
+#export PATH="${PATH}:/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/X11R6/bin"
# Save the arguments away.
#
@@ -137,7 +137,7 @@ if [ "x$LOGNAME" != "xgdm" ] ; then
fi
fi
-if [ `grep -c "\-q" <<< $ARGS` -gt 0 ] ; then
+if [ `echo $ARGS | grep -c "\-q"` -gt 0 ] ; then
# If the user has done -q or --quit, that means to tell any
# existing orca process to quit. So, we just do a cleanup.
#
@@ -154,7 +154,7 @@ else
if [ "x$ARGS" = "x" ] ; then
CLEANUP=1
else
- CLEANUP=`egrep -c "\-s|\-t|\-n|\-u|\-e|\-d" <<< $ARGS`
+ CLEANUP=`echo $ARGS | egrep -c "\-s|\-t|\-n|\-u|\-e|\-d"`
fi
# Clean up before running orca to get anything that might
|