From mint-bounce@lists.fishpool.fi Thu Jan 14 18:05:57 2010 Message-ID: <4B4FA2C2.9040704@atari-source.org> Date: Thu, 14 Jan 2010 18:03:30 -0500 From: Mark Duckworth User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] rpm brace expansion References: <4B4F9F55.9060205@atari-source.org> <4B4FA150.1050900@freesbee.fr> In-Reply-To: <4B4FA150.1050900@freesbee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: mduckworth@atari-source.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: On 1/14/10 5:57 PM, Vincent Rivière wrote: > Mark Duckworth wrote: >> So in rpm there is a line like mkdir -p >> $RPM_BUILD_ROOT/{bin,usr/bin,usr/man/man1} > > Beware this is a bashism. > It works when executed by bash, but not by EasyMiNT's sh. > > I don't know which shell executes the RPM commands. > Similarly, "make" always use sh. > > In conclusion, this syntax should be used only if you are sure that > the script is executed by bash. > Hmm, ok. I know an older version of bash, bash and sh were the same. Maybe that explains how this came to be. Thanks, Mark