]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit0b265c3b3b721dca03e82719ac0e15bc2c89aa3a
tree1b6c82cee193a309b743b77d61cc0908899ad768
parent689d77f001cd22da31cc943170e1f6f2e8197035
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