From: Ian Jackson Subject: Re: [PATCH v6 1/5] Introduce git-checkout.sh Date: Wed, 28 Sep 2011 16:58:10 +0100 Message-ID: <20099.17426.176688.137409@mariner.uk.xensource.com> References: <1316779878-10950-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1316779878-10950-1-git-send-email-stefano.stabellini@eu.citrix.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: stefano.stabellini@eu.citrix.com Cc: Ian.Campbell@eu.citrix.com, xen-devel@lists.xensource.com, keir@xen.org List-Id: xen-devel@lists.xenproject.org stefano.stabellini@eu.citrix.com writes ("[Xen-devel] [PATCH v6 1/5] Introduce git-checkout.sh"): > Introduce a script to perform git checkout on an external git tree; use > git-checkout.sh in ioemu-dir-find. ... > +#!/bin/sh > + > +TREE=$1 > +TAG=$2 > +DIR=$3 Missing - set -e - argument count check > +if test \! -d $DIR-remote; then > + rm -rf $DIR-remote $DIR-remote.tmp; Spurious semicolons. > distclean: subdirs-distclean > - rm -rf ioemu-dir ioemu-remote > + rm -rf ioemu-dir ioemu-dir-remote Would it be too much to ask you not to rename this directory ? Ian.