Răsfoiți Sursa

* fixed bashisms

git-svn-id: trunk@5994 -
Jonas Maebe 19 ani în urmă
părinte
comite
6604b8ba06
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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