Skip to content

Commit

Permalink
tools/slabinfo-gnuplot: force to use bash shell
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Liu, Changcheng authored and Linus Torvalds committed Dec 15, 2017
1 parent 689d77f commit 0b265c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/vm/slabinfo-gnuplot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Sergey Senozhatsky, 2015
# sergey.senozhatsky.work@gmail.com
Expand Down

0 comments on commit 0b265c3

Please sign in to comment.