From: Takashi Iwai Subject: Re: patch for alsa-info.sh to quote [ -d $SYSFS ] Date: Mon, 27 Oct 2008 11:06:57 +0100 Message-ID: References: <4903132B.29CA@teleline.es> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 506D7243CD for ; Mon, 27 Oct 2008 11:06:58 +0100 (CET) In-Reply-To: <4903132B.29CA@teleline.es> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Luis Yanes Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 25 Oct 2008 14:38:03 +0200, Luis Yanes wrote: > > Found a couple of bugs in http://www.alsa-project.org/alsa-info.sh > while running it in my system. > > * old uname <= 2.0.11 doesn't accept -o argument > * $SYSFS is not quoted while checking if directory exist and fails if > empty > > Attached is a small patch for the first of them, but think that all > variables also should be quoted to avoid future problems. Thanks, now it's in the upstream. Takashi