1. 09 Nov, 2020 1 commit
  2. 02 Nov, 2020 1 commit
  3. 22 Oct, 2020 1 commit
  4. 03 Oct, 2020 3 commits
    • Gaël Bonithon's avatar
      xdt-autogen: Various small improvements · ec0295a9
      Gaël Bonithon authored
      - quoting
      - replace backticks with $()
      - replace 'test "x$var"' with 'test "$var"'
      - replace $(pwd) with $PWD
      - simplify the command to search for languages
      - do not use subshell when unneeded
      - do not use redirection when unneeded
      - directly test command exit codes instead of using $?
      - readability (useless ";", indenting)
      ec0295a9
    • Gaël Bonithon's avatar
      xdt-autogen: Properly handle whitespaces in filenames · 72483f0e
      Gaël Bonithon authored
      and more generally special characters different from '\1'.
      
      This is achieved by replacing the filename separator ' ' with '\1' in
      lookup_configure_ac_*(), and the default IFS=' \t\n' with IFS='\1', but
      only where necessary: the default IFS is usually required for things to
      go as expected.
      
      So we have to do an IFS round-trip substitution around each "for" loop
      on filenames, just before and just after pathname expansion by the
      shell.
      
      Additionally, when running $XDT_PROG_ACLOCAL, one has to define some
      new variables ACLOCAL_DIR and use conditional parameter expansion, to
      properly set the program flags:
      $XDT_PROG_ACLOCAL ${ACLOCAL_DIR:+-I "$ACLOCAL_DIR"}
      
      Finally, one has to take care of some non optional quoting
      (strictly speaking, some are optional in this commit, but I preferred
      not to cut as close as possible and to keep an overall coherence).
      72483f0e
    • Gaël Bonithon's avatar
      xdt-autogen: Use sed instead of tr to replace strings · 3e01e213
      Gaël Bonithon authored
      The purpose of the current code seems to be to replace the strings
      '\t', '\n' and '\\' by a single space ' ', not the characters
      "horizontal tab", "line feed" and "backslash" by a single space.
      
      So the right command to do this is sed, not tr, which doesn't do the
      job expected here.
      3e01e213
  5. 18 Sep, 2020 1 commit
  6. 18 Jul, 2020 1 commit
  7. 12 Jul, 2020 2 commits
  8. 09 Jul, 2020 4 commits
  9. 08 Jul, 2020 2 commits
  10. 07 Jul, 2020 4 commits
  11. 24 Jun, 2020 5 commits
  12. 18 Jun, 2020 2 commits
  13. 16 Jun, 2020 3 commits
  14. 11 Jun, 2020 1 commit
  15. 04 Jun, 2020 6 commits
  16. 26 May, 2020 3 commits