From mint-bounce@lists.fishpool.fi Thu Jan 14 18:01:25 2010 Message-ID: <4B4FA150.1050900@freesbee.fr> Date: Thu, 14 Jan 2010 23:57:20 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; 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> In-Reply-To: <4B4F9F55.9060205@atari-source.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 100114-1, 14/01/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o0EN1OnV013609 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. -- Vincent Rivière