[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171208093751.GA175471@sofia>
Date: Fri, 8 Dec 2017 17:37:51 +0800
From: "Liu, Changcheng" <changcheng.liu@...el.com>
To: sergey.senozhatsky@...il.com
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
changcheng.liu@...el.com
Subject: [PATCH] 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.
Signed-off-by: Liu Changcheng <changcheng.liu@...el.com>
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@...il.com
--
2.7.4
Powered by blists - more mailing lists