* mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
* mk-srk-inc.sh: Likewise.
From-SVN: r86919
+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
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
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