correctly declare functions, we were missing parenthesis

This commit is contained in:
Antoine Beaupré 2008-04-24 16:10:27 +00:00
parent cf484070de
commit 3cbd94f5f6
5 changed files with 8 additions and 8 deletions

View File

@ -47,7 +47,7 @@ fi
. "$CONFIG_FILE" . "$CONFIG_FILE"
doone { doone() {
read GID LOGIN read GID LOGIN
while [ "$LOGIN" ] while [ "$LOGIN" ]
do do

View File

@ -29,7 +29,7 @@
set -e set -e
dobck { dobck() {
local ext local ext
local i local i
local old_ifs local old_ifs

View File

@ -74,7 +74,7 @@ done
#------------------------- #-------------------------
set_messages set_messages()
#------------------------- #-------------------------
{ {
# Language-dependent messages # Language-dependent messages
@ -95,7 +95,7 @@ set_messages
#------------------------- #-------------------------
trap_EXIT trap_EXIT()
#------------------------- #-------------------------
{ {
# Does some cleaning # Does some cleaning

View File

@ -74,7 +74,7 @@ done
#------------------------- #-------------------------
set_messages set_messages()
#------------------------- #-------------------------
{ {
# Language-dependent messages # Language-dependent messages
@ -106,7 +106,7 @@ set_messages
#------------------------- #-------------------------
trap_EXIT trap_EXIT()
#------------------------- #-------------------------
{ {
# Does some cleaning # Does some cleaning

View File

@ -73,7 +73,7 @@ done
#------------------------- #-------------------------
set_messages set_messages()
#------------------------- #-------------------------
{ {
# Language-dependent messages # Language-dependent messages
@ -93,7 +93,7 @@ set_messages
#------------------------- #-------------------------
trap_EXIT trap_EXIT()
#------------------------- #-------------------------
{ {
# Does some cleaning # Does some cleaning