]> git.baikalelectronics.ru Git - kernel.git/commit
tools/slabinfo-gnuplot: force to use bash shell
authorLiu, Changcheng <changcheng.liu@intel.com>
Thu, 14 Dec 2017 23:33:05 +0000 (15:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Dec 2017 00:00:48 +0000 (16:00 -0800)
commit1409fc246dec2d9cd70b3fc62aba9b0d2192fb87
tree1b6c82cee193a309b743b77d61cc0908899ad768
parente7cf8b5e19611775baf2a93606831ee3f6e5c7f8
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.

Link: http://lkml.kernel.org/r/20171208093751.GA175471@sofia
Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/vm/slabinfo-gnuplot.sh