You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
651 B

  1. --- a/src/gen-lock-obj.sh
  2. +++ b/src/gen-lock-obj.sh
  3. @@ -84,17 +84,16 @@ EOF
  4. # USE_LONG_DOUBLE_FOR_ALIGNMENT
  5. #
  6. -echo -n "#define GPGRT_LOCK_INITIALIZER {$LOCK_ABI_VERSION,{{"
  7. +printf "#define GPGRT_LOCK_INITIALIZER {$LOCK_ABI_VERSION,{{"
  8. i=0
  9. while test "$i" -lt $ac_mtx_size; do
  10. if test "$i" -ne 0 -a "$(( $i % 8 ))" -eq 0; then
  11. - echo ' \'
  12. - echo -n " "
  13. + printf " %s\n " "\\"
  14. fi
  15. - echo -n '0'
  16. + printf '0'
  17. if test "$i" -lt $(($ac_mtx_size - 1)); then
  18. - echo -n ','
  19. + printf ','
  20. fi
  21. i=$(( i + 1 ))
  22. done