Use more portable syntax for functions.

This commit is contained in:
Pavel Roskin 2003-11-20 22:07:06 +00:00
parent 22d0061e4d
commit bc89c5fb10
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
set -e
function one_test () {
one_test() {
"$@" >/dev/null 2>doctest.err
if test -s doctest.err; then
echo "ERROR messages follow:" 2>&1

View File

@ -11,7 +11,7 @@
# $1 - file to upload, $2 - shell mask to erase
function upload() {
upload() {
echo "Uploading $1 to $SITE"
name="`basename $1`"
scp "$1" "$SITE:$DIR/.in.$name"

View File

@ -5,7 +5,7 @@
set -e
function distcheck () {
distcheck() {
id="$1"
shift
make distcheck MSGMERGE="msgmerge -q" "$@" >test-$id.out 2>test-$id.err