From 65183857731e29d7a0c7fdddba8205b4fc3762b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 22 Jan 2009 15:07:54 +0000 Subject: function-definitions are now "bla() {}" rather than "function bla()"; this should make it work with dash as well as bash svn path=/trunk/externals/iem/iemmatrix/; revision=10596 --- src/makesource.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/makesource.sh') diff --git a/src/makesource.sh b/src/makesource.sh index 8b634bb..8d09e98 100755 --- a/src/makesource.sh +++ b/src/makesource.sh @@ -10,7 +10,7 @@ LS=ls ################################# ## functions -function head_h() { +head_h() { echo "/* iemmatrix-setup autogenerated header-file" echo " * generated by \"$0\"" echo " * !! DO NOT MANUALLY EDIT !!" @@ -20,12 +20,12 @@ function head_h() { echo "#define IEMMATRIX_SOURCES_H__" } -function foot_h() { +foot_h() { echo "#endif /* IEMMATRIX_SOURCES_H__ */" echo "" } -function head_c() { +head_c() { echo "/* iemmatrix-setup autogenerated setup-file" echo " * generated by \"$0\"" echo " * !! DO NOT MANUALLY EDIT !!" @@ -37,7 +37,7 @@ function head_c() { echo "{" } -function foot_c() { +foot_c() { echo "}" echo } -- cgit v1.2.1