[Orca-checkins] rev 263 - in trunk/orca/data_gatherers: orca_services orcallator procallator
Blair Zajac
blair at orcaware.com
Tue Oct 7 20:54:44 PDT 2003
Author: blair
Date: Tue Oct 7 20:54:24 2003
New Revision: 263
Modified:
trunk/orca/data_gatherers/orca_services/S99orca_services.sh.in
trunk/orca/data_gatherers/orcallator/S99orcallator.sh.in
trunk/orca/data_gatherers/procallator/S99procallator.sh.in
Log:
* data_gatherers/procallator/S99procallator.sh.in,
* data_gatherers/orcallator/S99orcallator.sh.in,
* data_gatherers/orca_services/S99orca_services.sh.in:
Use "if test" instead of "if [" to be consistent across all scripts.
Modified: trunk/orca/data_gatherers/orca_services/S99orca_services.sh.in
==============================================================================
--- trunk/orca/data_gatherers/orca_services/S99orca_services.sh.in (original)
+++ trunk/orca/data_gatherers/orca_services/S99orca_services.sh.in Tue Oct 7 20:54:24 2003
@@ -6,7 +6,7 @@
case "$1" in
start)
- if [ -x $bindir/start_orca_services ]; then
+ if test -x $bindir/start_orca_services; then
umask 022
$bindir/start_orca_services
else
@@ -15,7 +15,7 @@
;;
stop)
- if [ -x $bindir/stop_orca_services ]; then
+ if test -x $bindir/stop_orca_services; then
$bindir/stop_orca_services
fi
;;
Modified: trunk/orca/data_gatherers/orcallator/S99orcallator.sh.in
==============================================================================
--- trunk/orca/data_gatherers/orcallator/S99orcallator.sh.in (original)
+++ trunk/orca/data_gatherers/orcallator/S99orcallator.sh.in Tue Oct 7 20:54:24 2003
@@ -9,7 +9,7 @@
case "$1" in
start)
- if [ -x $start_orcallator ]; then
+ if test -x $start_orcallator; then
umask 022
$start_orcallator
else
@@ -18,7 +18,7 @@
;;
stop)
- if [ -x $stop_orcallator ]; then
+ if test -x $stop_orcallator; then
$stop_orcallator
fi
;;
Modified: trunk/orca/data_gatherers/procallator/S99procallator.sh.in
==============================================================================
--- trunk/orca/data_gatherers/procallator/S99procallator.sh.in (original)
+++ trunk/orca/data_gatherers/procallator/S99procallator.sh.in Tue Oct 7 20:54:24 2003
@@ -20,7 +20,7 @@
start()
{
echo -n $"Starting procallator: "
- if [ -x $procallator ]; then
+ if test -x $procallator; then
$procallator &
RETVAL=$?
PID=$!
More information about the Orca-checkins
mailing list