diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-01-22 15:07:54 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-01-22 15:07:54 +0000 |
commit | 65183857731e29d7a0c7fdddba8205b4fc3762b6 (patch) | |
tree | dc5554c2c1af1946accaa36b03e96179069f24e9 /src | |
parent | 41caa27f25be208b4216322d99d942f1074e2b9e (diff) |
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
Diffstat (limited to 'src')
-rwxr-xr-x | src/makesource.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |