0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch 761 B

1234567891011121314151617181920212223242526
  1. From 4ef42740538cefd3c1554aa4df5bcb1388ac927b Mon Sep 17 00:00:00 2001
  2. From: Sergio Prado <sergio.prado@e-labworks.com>
  3. Date: Tue, 16 Jan 2018 22:28:32 -0200
  4. Subject: [PATCH] Change shell script interpreter from /bin/bash to /bin/sh
  5. This will make the script more portable, making it possible to run on
  6. systems that do not have bash.
  7. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
  8. ---
  9. aoe-stat.in | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/aoe-stat.in b/aoe-stat.in
  12. index 50e6ac674169..0c1d6f5ebe1e 100755
  13. --- a/aoe-stat.in
  14. +++ b/aoe-stat.in
  15. @@ -1,4 +1,4 @@
  16. -#! /bin/bash
  17. +#! /bin/sh
  18. # aoe-stat - collate and present information about AoE storage
  19. # Copyright 2012, CORAID, Inc., and licensed under GPL v.2.
  20. --
  21. 1.9.1