diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-01 17:51:42 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-01 17:51:42 +0000 |
commit | 6da9c1a23dc513b18fb4b33c3b077d3bb0acbb07 (patch) | |
tree | 3c11489a29752196cf32017568ec90a070af67a3 /libgfortran/mk-srk-inc.sh | |
parent | 8d8061599caf3caefb6dfbfb2f96ca91dcf10f54 (diff) | |
download | gcc-6da9c1a23dc513b18fb4b33c3b077d3bb0acbb07.tar.gz |
* mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
* mk-srk-inc.sh: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/mk-srk-inc.sh')
-rwxr-xr-x | libgfortran/mk-srk-inc.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgfortran/mk-srk-inc.sh b/libgfortran/mk-srk-inc.sh index 47046985b00..d036d682679 100755 --- a/libgfortran/mk-srk-inc.sh +++ b/libgfortran/mk-srk-inc.sh @@ -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 |