0001-scripts-build-use-bin-bash-as-shell.patch 781 B

12345678910111213141516171819202122232425262728
  1. From 02a538c2b4b54b41d23dbd7668714ea4d2016131 Mon Sep 17 00:00:00 2001
  2. From: Markus Mayer <mmayer@broadcom.com>
  3. Date: Thu, 13 Jun 2019 12:27:04 -0700
  4. Subject: [PATCH] scripts/build: use /bin/bash as shell
  5. scripts/build makes use of the "+=" operator which is not supported by
  6. /bin/sh. We switch to /bin/bash in order to avoid errors of the form
  7. ../scripts/build: 21: ../scripts/build: LDLIBS+= -lm: not found
  8. Signed-off-by: Markus Mayer <mmayer@broadcom.com>
  9. ---
  10. scripts/build | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/scripts/build b/scripts/build
  13. index 34a1371d0056..60b755cd2320 100755
  14. --- a/scripts/build
  15. +++ b/scripts/build
  16. @@ -1,4 +1,4 @@
  17. -#!/bin/sh
  18. +#!/bin/bash
  19. CC=${CC-`../scripts/compiler`}
  20. MAKE=${MAKE-`../scripts/make`}
  21. --
  22. 2.17.1