summaryrefslogtreecommitdiff
path: root/tools/vm
diff options
context:
space:
mode:
authorLiu, Changcheng <changcheng.liu@intel.com>2017-12-15 02:33:05 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-12-15 03:00:48 +0300
commit0b265c3b3b721dca03e82719ac0e15bc2c89aa3a (patch)
tree1b6c82cee193a309b743b77d61cc0908899ad768 /tools/vm
parent689d77f001cd22da31cc943170e1f6f2e8197035 (diff)
downloadlinux-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/vm')
-rw-r--r--tools/vm/slabinfo-gnuplot.sh2
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