From mint-bounce@lists.fishpool.fi Fri Jan 15 03:26:03 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9dYQl3R/7LvX3pR47Awpp+3x4+lw5WZSHyoXSnez4Bw=; b=bPetlHYfDe1MH7Gvvb2u4y3jtcmCAgtIH1vRe1GbLhYVkFvq8D40E8mHa8od3vvINH PWiYCJhHHQuQywvjcmam2OJnJyJVGsSOyQPQDROagAJoTpU+CHDAeTm+rvFckqOW329P cv04OG1/7NsEVqTF3oQK/hjGOs64Z/M0zRhR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Q7XJgEuUj6rgeqvCAAvPAIKLm3s2ZsV/PTTMMehiur1S0a3kBp3DYrX8U0QsnRzn8P MxqTHGbcNzTEYeQ2yFZtfVAhm4iNREOGf5/u61pCHgBFe3I6bNMGlbeWIw+/v4H33zH4 b0oWxYM5cJfcrswUWzi2KzF6MGtCiDgAiTPVY= MIME-Version: 1.0 In-Reply-To: References: <4B4F9F55.9060205@atari-source.org> <4B4FA150.1050900@freesbee.fr> Date: Fri, 15 Jan 2010 02:22:55 -0600 Message-ID: <11a6f2b11001150022x7ae13149kbeabf5a6c236aaa2@mail.gmail.com> Subject: Re: [MiNT] rpm brace expansion From: Paul Wratt To: mint Content-Type: text/plain; charset=ISO-8859-1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: paul.wratt@gmail.com 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 o0F8Q2Ug011886 2010/1/14 Andreas Schwab : > 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. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5 > "And now for something completely different." > any RPM bash script should contain the #!/bin/bash, otherwise the script must be sh complient if you get this issue again (or are willing to recreate it) can you test cat <