mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.

* mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
	* mk-srk-inc.sh: Likewise.

From-SVN: r86919
This commit is contained in:
Eric Botcazou 2004-09-01 19:51:42 +02:00 committed by Eric Botcazou
parent 156a126c4f
commit 130abd1728
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
* mk-srk-inc.sh: Likewise.
2004-09-01 Paul Brook <paul@codesourcery.com>
* runtime/error.c (generate_error): Set both iostat and

View File

@ -20,12 +20,13 @@ echo " type (int_info), parameter :: int_infos(c) = (/ &"
i=0
for k in $kinds; do
echo -n " int_info ($k, range(0_$k))"
# echo -n is not portable
str=" int_info ($k, range(0_$k))"
i=`expr $i + 1`
if [ $i -lt $c ]; then
echo ", &"
echo "$str, &"
else
echo " /)"
echo "$str /)"
fi
done

View File

@ -20,12 +20,13 @@ echo " type (real_info), parameter :: real_infos(c) = (/ &"
i=0
for k in $kinds; do
echo -n " real_info ($k, precision(0.0_$k), range(0.0_$k))"
# echo -n is not portable
str=" real_info ($k, precision(0.0_$k), range(0.0_$k))"
i=`expr $i + 1`
if [ $i -lt $c ]; then
echo ", &"
echo "$str, &"
else
echo " /)"
echo "$str /)"
fi
done