Browse Source

* fixed bashisms

git-svn-id: trunk@5994 -
Jonas Maebe 18 years ago
parent
commit
6604b8ba06
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/utils/samplecfg

+ 2 - 2
compiler/utils/samplecfg

@@ -5,7 +5,7 @@
 #  Generate Sample Free Pascal configuration file
 #  Generate Sample Free Pascal configuration file
 #
 #
 
 
-function setgccdir() {
+setgccdir() {
 # Find path to libgcc.a
 # Find path to libgcc.a
 GCCSPEC=`(gcc -v $@ 2>&1)| head -n 1| awk '{ print $4 } '`
 GCCSPEC=`(gcc -v $@ 2>&1)| head -n 1| awk '{ print $4 } '`
 if [ -z "$GCCSPEC" ] ; then
 if [ -z "$GCCSPEC" ] ; then
@@ -15,7 +15,7 @@ GCCDIR=`dirname $GCCSPEC`
 }
 }
 
 
 
 
-function setgccdirarch() {
+setgccdirarch() {
 # Find path to libgcc.a
 # Find path to libgcc.a
 GCCSPEC=`(gcc -v -arch $1 2>&1)| head -n 1| awk '{ print $4 } '`
 GCCSPEC=`(gcc -v -arch $1 2>&1)| head -n 1| awk '{ print $4 } '`
 if [ -z "$GCCSPEC" ] ; then
 if [ -z "$GCCSPEC" ] ; then