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-sik-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-sik-inc.sh')
-rwxr-xr-x | libgfortran/mk-sik-inc.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgfortran/mk-sik-inc.sh b/libgfortran/mk-sik-inc.sh index 536eda70c88..a2f29e1e30a 100755 --- a/libgfortran/mk-sik-inc.sh +++ b/libgfortran/mk-sik-inc.sh @@ -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 |