[dpdk-dev] [PATCH] devtools: use bash for checkpatches.sh

Andrzej Ostruszka amo at semihalf.com
Thu Aug 30 15:00:12 CEST 2018


On some systems /bin/sh does not support '-d' option of 'read'.
So instead of /bin/sh use /bin/bash.

Fixes: 7413e7f2aeb3 ("devtools: alert on new calls to exit from libs")
Cc: arnon at qwilt.com
Signed-off-by: Andrzej Ostruszka <amo at semihalf.com>
---
 devtools/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh
index ba795ad..db7afc4 100755
--- a/devtools/checkpatches.sh
+++ b/devtools/checkpatches.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2015 6WIND S.A.
 
-- 
2.7.4



More information about the dev mailing list