Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753696AbdLHJyx (ORCPT ); Fri, 8 Dec 2017 04:54:53 -0500 Received: from mga18.intel.com ([134.134.136.126]:57828 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753573AbdLHJjB (ORCPT ); Fri, 8 Dec 2017 04:39:01 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,377,1508828400"; d="scan'208";a="10734519" Date: Fri, 8 Dec 2017 17:37:51 +0800 From: "Liu, Changcheng" To: sergey.senozhatsky@gmail.com Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, changcheng.liu@intel.com Subject: [PATCH] tools/slabinfo-gnuplot: force to use bash shell Message-ID: <20171208093751.GA175471@sofia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 510 Lines: 19 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 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@gmail.com -- 2.7.4