BIND 10 master, updated. 89dd63f0d2b08ed9bb4e872ecd6b5987fa60523a [master] avoid using bash-specific syntax (we actually didn't need it).
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 3 21:39:24 UTC 2011
The branch, master has been updated
via 89dd63f0d2b08ed9bb4e872ecd6b5987fa60523a (commit)
from 5ff48bacf28bfc49dc6dc6351eb72f84a207f3ee (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 89dd63f0d2b08ed9bb4e872ecd6b5987fa60523a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Feb 3 21:38:12 2011 +0000
[master] avoid using bash-specific syntax (we actually didn't need it).
bash isn't available on all platforms by default. we should be conservative.
-----------------------------------------------------------------------
Summary of changes:
src/lib/log/tests/run_time_init_test.sh.in | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/tests/run_time_init_test.sh.in b/src/lib/log/tests/run_time_init_test.sh.in
index 196cba9..1ef8a0f 100755
--- a/src/lib/log/tests/run_time_init_test.sh.in
+++ b/src/lib/log/tests/run_time_init_test.sh.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -13,14 +13,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id$
-
tempfile=`echo /tmp/run_init_test_$$`
failcount=0
localmes=@abs_builddir@/localdef.mes
tempfile=@abs_builddir@/run_time_init_test_tempfile_$$
-function passfail() {
+passfail() {
if [ $1 -eq 0 ]; then
echo "pass"
else
More information about the bind10-changes
mailing list