All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: xen-devel <xen-devel@lists.xen.org>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: [OSSTEST PATCH] echo to stderr in mg-debian-installer-update
Date: Fri, 13 Jun 2014 18:56:28 +0200	[thread overview]
Message-ID: <1402678588.2352.7.camel@Solace> (raw)

Otherwise the script would 'return' an array of strings which results,
when called from standalone-reset, in something like this:

+ ln -s http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//debian-installer/amd64/initrd.gz '=>' initrd.gz.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//debian-installer/amd64/linux '=>' linux.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//xen/vmlinuz '=>' vmlinuz-xen.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//xen/initrd.gz '=>' initrd.gz-xen.new s=debian-installer/amd64/initrd.gz d=initrd.gz s=debian-installer/amd64/linux d=linux s=xen/vmlinuz d=vmlinuz-xen s=xen/initrd.gz d=initrd.gz-xen 2014-06-13-wheezy /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy
ln: target `/usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy' is not a directory

This was introduced in commit 20e98de815870b879157bb79559a70a0c058259a
(mg-debian-installer-update: grab Xen PV domU capable images too).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index d6b688e..b964f95 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -62,7 +62,7 @@ cd $dst
 for f in $files; do
         echo >&2 "fetching $f"
         s=${f/:*} ; d=${f/*:}
-        echo "$src/$s => $d.new"
+        echo >&2 "$src/$s => $d.new"
         curl -s $src/$s >$d.new
 done
 

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

                 reply	other threads:[~2014-06-13 16:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1402678588.2352.7.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.