From: Aron Griffis <aron@hp.com>
To: Christoph Egger <Christoph.Egger@amd.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Minor fixes for non-Linux platforms
Date: Fri, 13 Oct 2006 17:27:51 -0400 [thread overview]
Message-ID: <20061013212750.GG416@fc.hp.com> (raw)
In-Reply-To: <200610121433.23484.Christoph.Egger@amd.com>
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 "\t$0 [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 "\t$0 [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
next prev parent reply other threads:[~2006-10-13 21:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-12 8:33 [PATCH] Minor fixes for non-Linux platforms Christoph Egger
2006-10-13 9:56 ` Bastian Blank
2006-10-13 11:54 ` Keir Fraser
2006-10-12 12:33 ` Christoph Egger
2006-10-13 16:45 ` Christian Limpach
2006-10-13 21:27 ` Aron Griffis [this message]
2006-10-15 8:39 ` Christoph Egger
2006-10-17 14:08 ` Christoph Egger
2006-10-13 21:56 ` Aron Griffis
2006-10-14 15:29 ` Ewan Mellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061013212750.GG416@fc.hp.com \
--to=aron@hp.com \
--cc=Christoph.Egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.