WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Minor fixes for non-Linux platforms

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Minor fixes for non-Linux platforms
From: Aron Griffis <aron@xxxxxx>
Date: 2006年10月13日 17:27:51 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年10月13日 14:28:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200610121433.23484.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <C1553CF2.27BE%Keir.Fraser@xxxxxxxxxxxx> <200610121433.23484.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006年08月11日)
Christoph Egger wrote: [Thu Oct 12 2006, 08:33:22AM EDT]
> diff -r 49d096ef3d76 tools/check/chk
> --- a/tools/check/chk Fri Oct 13 10:58:29 2006 +0100
> +++ b/tools/check/chk Thu Oct 12 14:31:08 2006 +0200
> @@ -1,18 +1,7 @@
> -#!/bin/bash
> -
> -function usage {
> - echo "Usage:"
> - echo "\t0ドル [build|install|clean]"
> - echo
> - echo "Check suitability for Xen build or install."
> - echo "Exit with 0 if OK, 1 if not."
> - echo "Prints only failed tests."
> - echo
> - echo "Calling with 'clean' removes generated files."
> - exit 1
> -}
> +#!/bin/sh
>
> export PATH=${PATH}:/sbin:/usr/sbin
> +export OS=`uname -s`
export with variable assignment doesn't work on most Bourne shells.
These need to be split up:
PATH=${PATH}:/sbin:/usr/sbin
OS=`uname -s`
export PATH OS
> case 1ドル in
> build)
> @@ -25,7 +14,15 @@ case 1ドル in
> exit 0
> ;;
> *)
> - usage
> + echo "Usage:"
> + echo "\t0ドル [build|install|clean]"
\t isn't standard (it doesn't even work on Linux without -e). 
You should insert a real tab there instead.
Aron
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH/RFC] Wrong account for cpus other than 0 on hotplug , Glauber de Oliveira Costa
Next by Date: RE: [Xen-devel] [PATCH] an obvious fix to PIC IO intercept , Li, Xin B
Previous by Thread: Re: [Xen-devel] [PATCH] Minor fixes for non-Linux platforms , Christian Limpach
Next by Thread: Re: [Xen-devel] [PATCH] Minor fixes for non-Linux platforms , Christoph Egger
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /