[riot-commits] [RIOT-OS/RIOT] 648e01: makefiles: Sort >/dev/null and 2>&1

chrysn noreply at github.com
Fri Aug 27 10:38:04 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 648e0141840ede1091ac6a601363ddac6e59de0c
      https://github.com/RIOT-OS/RIOT/commit/648e0141840ede1091ac6a601363ddac6e59de0c
  Author: chrysn <chrysn at fsfe.org>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M Makefile.include
    M makefiles/tools/gdb.inc.mk
    M makefiles/tools/riotgen.inc.mk
    M pkg/flatbuffers/Makefile.include

  Log Message:
  -----------
  makefiles: Sort >/dev/null and 2>&1

Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).


  Commit: de768b5d23e7bbb33a5915f1048dd307dba723db
      https://github.com/RIOT-OS/RIOT/commit/de768b5d23e7bbb33a5915f1048dd307dba723db
  Author: chrysn <chrysn at fsfe.org>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

  Changed paths:
    M Makefile.include
    M makefiles/tools/gdb.inc.mk
    M makefiles/tools/riotgen.inc.mk
    M pkg/flatbuffers/Makefile.include

  Log Message:
  -----------
  Merge pull request #16775 from chrysn-pull-requests/shell-make-fixes

makefiles: Sort >/dev/null and 2>&1


Compare: https://github.com/RIOT-OS/RIOT/compare/eace9495b46b...de768b5d23e7


More information about the commits mailing list