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

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


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8ae98d442acb38517d859b8ecc902df108ff05c4
      https://github.com/wesnoth/wesnoth/commit/8ae98d442acb38517d859b8ecc902df108ff05c4
  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