From mint-bounce@lists.fishpool.fi Sat Jan 16 09:18:37 2010 Message-ID: <4B51CA3D.4040707@atari-source.org> Date: Sat, 16 Jan 2010 09:16:29 -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: Content-Type: text/plain; charset=UTF-8; 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 7:59 PM, Andreas Schwab wrote: > Vincent Rivière writes: > > >> 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's actually a cshism. > > >> In conclusion, this syntax should be used only if you are sure that the >> script is executed by bash. >> > Or csh :-) > > Andreas. > > On modern platforms (all of them) sh is just a symlink to bash. My assumption is that this is implicitly required for an (rpm) build machine but I will not setup the packages this way as a user may want to save the memory. Thanks, Mark