diff options
author | Liu, Changcheng <changcheng.liu@intel.com> | 2017-12-14 15:33:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-14 16:00:48 -0800 |
commit | 0b265c3b3b721dca03e82719ac0e15bc2c89aa3a (patch) | |
tree | 1b6c82cee193a309b743b77d61cc0908899ad768 /tools/vm/slabinfo-gnuplot.sh | |
parent | 689d77f001cd22da31cc943170e1f6f2e8197035 (diff) | |
download | op-kernel-dev-0b265c3b3b721dca03e82719ac0e15bc2c89aa3a.zip op-kernel-dev-0b265c3b3b721dca03e82719ac0e15bc2c89aa3a.tar.gz |
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>
Diffstat (limited to 'tools/vm/slabinfo-gnuplot.sh')
-rw-r--r-- | tools/vm/slabinfo-gnuplot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vm/slabinfo-gnuplot.sh b/tools/vm/slabinfo-gnuplot.sh index 35b0398..0cf28aa 100644 --- a/tools/vm/slabinfo-gnuplot.sh +++ b/tools/vm/slabinfo-gnuplot.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Sergey Senozhatsky, 2015 # sergey.senozhatsky.work@gmail.com |