From: John Levon Subject: Re: [PATCH][TOOLS] libfsimage: portability fixes Date: Thu, 27 Mar 2008 16:26:31 +0000 Message-ID: <20080327162631.GD23544@totally.trollied.org.uk> References: <200803261514.33378.Christoph.Egger@amd.com> <18411.32634.344747.246537@mariner.uk.xensource.com> <200803271616.52383.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200803271616.52383.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Thu, Mar 27, 2008 at 04:16:51PM +0100, Christoph Egger wrote: > On Thursday 27 March 2008 12:05:30 Ian Jackson wrote: > > Christoph Egger writes ("[Xen-devel] [PATCH][TOOLS] libfsimage: portability > fixes"): > > > -${CC:-gcc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1 > > > +if test -z ${CC}; then CC="gcc"; fi > > > +${CC} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1 > > > + > > > > This also seems to serve no purpose as far as I can tell. > > This is for the ancient Solaris /bin/sh. If John Levon confirms that > this and that the $(SHELL) mentioned in your other mail > are NOT needed/required to not break Solaris, you can undo these two changes. It's not needed for the Bourne shell, no. regards, john