From: Liu, Changcheng Date: Thu, 14 Dec 2017 23:33:05 +0000 (-0800) Subject: tools/slabinfo-gnuplot: force to use bash shell X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0b265c3b3b721dca03e82719ac0e15bc2c89aa3a;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Sergey Senozhatsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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