[Commits] [wesnoth/wesnoth] 47498d: cmake: Fix pot-update target breakage when bash is...

GitHub noreply at github.com
Sat Dec 27 08:47:10 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 47498d9d3e2635fb0e73ac8c7d867ea69037e090
      https://github.com/wesnoth/wesnoth/commit/47498d9d3e2635fb0e73ac8c7d867ea69037e090
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-12-27 (Sat, 27 Dec 2014)

  Changed paths:
    M changelog
    M cmake/update_pot_source_dependencies.cmake

  Log Message:
  -----------
  cmake: Fix pot-update target breakage when bash isn't the default shell

(Default shell as in the /bin/sh executable.)

On Debian and other systems using a different Bourne-compatible shell
that doesn't support some of Bash's syntax extensions (in particular,
'&>' as a redirection operator targeting stdout+stderr), the pot-update
target is completely broken, stuffing the POTFILES.in lists for either
the last (wesnoth-utbs) or first (wesnoth-ai) textdomains with paths for
every C/C++ source file from our tree.

Shells that do not interpret &> the way Bash does consider it to be the
stdout redirection operator following an asynchronous invocation. Of
course such a thing is bound to cause weird issues like this.





More information about the Commits mailing list