From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [OSSTest] standalone-reset: actually honour '-f' option Date: Wed, 29 Jan 2014 14:32:35 +0000 Message-ID: <1391005955.21756.7.camel@Abyss> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7406744020036818592==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W8WC8-00089y-R4 for xen-devel@lists.xenproject.org; Wed, 29 Jan 2014 14:32:49 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Ian Campbell , Ian Jackson List-Id: xen-devel@lists.xenproject.org --===============7406744020036818592== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-l+686buVh8C/R7V9YaVr" --=-l+686buVh8C/R7V9YaVr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable standalone-reset's usage says: =20 usage: ./standalone-reset [] [ [ []]] branch and xenbranch default, separately, to xen-unstable options: -f generate flight "flight", default is "standalone" =20 but then there is no place where '-f' is processed, and hence no real way to pass a specific flight name to make-flight. =20 Signed-off-by: Dario Faggioli diff --git a/standalone-reset b/standalone-reset index 8be7e86..846561d 100755 --- a/standalone-reset +++ b/standalone-reset @@ -27,6 +27,15 @@ options: END } =20 +flight=3D"standalone" +while getopts "f:" opt; do + case "$opt" in + f) flight=3D${OPTARG};; + *) usage; exit 1;; + esac +done +shift $((OPTIND-1)) + if [ -f standalone.config ] ; then . standalone.config fi --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-l+686buVh8C/R7V9YaVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlLpEQMACgkQk4XaBE3IOsQ9UgCaAjps9TPYuQlfErsp7j2fzG9k X1kAoISPY+jf2CQJkfiYRCWoYY1WpKBH =e/ke -----END PGP SIGNATURE----- --=-l+686buVh8C/R7V9YaVr-- --===============7406744020036818592== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7406744020036818592==--