diff options
author | Liu, Changcheng <changcheng.liu@intel.com> | 2017-12-15 02:33:05 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-15 03:00:48 +0300 |
commit | 0b265c3b3b721dca03e82719ac0e15bc2c89aa3a (patch) | |
tree | 1b6c82cee193a309b743b77d61cc0908899ad768 /tools | |
parent | 689d77f001cd22da31cc943170e1f6f2e8197035 (diff) | |
download | linux-0b265c3b3b721dca03e82719ac0e15bc2c89aa3a.tar.xz |
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')
-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 35b039864b77..0cf28aa6f21c 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 |