[PD-cvs] SF.net SVN: pure-data:[10596] trunk/externals/iem/iemmatrix/src/makesource. sh

zmoelnig at users.sourceforge.net zmoelnig at users.sourceforge.net
Thu Jan 22 16:07:54 CET 2009


Revision: 10596
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10596&view=rev
Author:   zmoelnig
Date:     2009-01-22 15:07:54 +0000 (Thu, 22 Jan 2009)

Log Message:
-----------
function-definitions are now "bla() {}" rather than "function bla()";
this should make it work with dash as well as bash

Modified Paths:
--------------
    trunk/externals/iem/iemmatrix/src/makesource.sh

Modified: trunk/externals/iem/iemmatrix/src/makesource.sh
===================================================================
--- trunk/externals/iem/iemmatrix/src/makesource.sh	2009-01-22 01:48:31 UTC (rev 10595)
+++ trunk/externals/iem/iemmatrix/src/makesource.sh	2009-01-22 15:07:54 UTC (rev 10596)
@@ -10,7 +10,7 @@
 #################################
 ## 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 @@
  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 @@
  echo "{"
 }
 
-function foot_c() {
+foot_c() {
  echo "}"
  echo
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list