Skip to contentSkip to conversation

tools/slabinfo-gnuplot: force to use bash shell

PATCH New [email protected] 1 participant 1 message Dec 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 13/17 tools/slabinfo-gnuplot: force to use bash shell

From: "Liu, Changcheng" <[email protected]>
Subject: tools/slabinfo-gnuplot: force to use bash shell

On some linux distributions, the default link of sh is dash which deoesn't support split array like ${var//,/ }
It's better to force to use bash shell directly.

---

 tools/vm/slabinfo-gnuplot.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/vm/slabinfo-gnuplot.sh renamed from tools/vm/slabinfo-gnuplot.sh~tools-slabinfo-gnuplot-force-to-use-bash-shell +1 -1
diff -puN tools/vm/slabinfo-gnuplot.sh~tools-slabinfo-gnuplot-force-to-use-bash-shell tools/vm/slabinfo-gnuplot.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Sergey Senozhatsky, 2015
 # [email protected]

_