Re: [Xen-devel] [PATCH OSSTEST 1/2] mg-debian-installer-update: Print the correct value for TftpDiVersion
Ian Campbell writes ([PATCH OSSTEST 1/2] mg-debian-installer-update: Print the correct value for TftpDiVersion): That is, the date without the suite suffix. ... -echo $date -echo 2 downloaded $dstroot/$arch/$date +echo New TftpDiVersion: $date +echo 2 downloaded $dstroot/$dst You could make the output suitable for cp ? +echo TftpDiVersion $date Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Re: [Xen-devel] [PATCH OSSTEST 1/2] mg-debian-installer-update: Print the correct value for TftpDiVersion
On Thu, 2015-06-25 at 11:34 +0100, Ian Jackson wrote: Ian Campbell writes ([PATCH OSSTEST 1/2] mg-debian-installer-update: Print the correct value for TftpDiVersion): That is, the date without the suite suffix. ... -echo $date -echo 2 downloaded $dstroot/$arch/$date +echo New TftpDiVersion: $date +echo 2 downloaded $dstroot/$dst You could make the output suitable for cp ? +echo TftpDiVersion $date Good idea. Shall I resend or just do it on commit? ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
[Xen-devel] [PATCH OSSTEST 1/2] mg-debian-installer-update: Print the correct value for TftpDiVersion
That is, the date without the suite suffix. Signed-off-by: Ian Campbell ian.campb...@citrix.com --- mg-debian-installer-update | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mg-debian-installer-update b/mg-debian-installer-update index ba2fdc4..59f05ec 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -68,8 +68,8 @@ esac pfile=$sbase/non-free/binary-$arch/Packages.gz dstroot=`getconfig TftpPath`/`getconfig TftpDiBase`/ -date=`date +%Y-%m-%d`-$suite -dst=$arch/$date +date=`date +%Y-%m-%d` +dst=$arch/$date-$suite cd $dstroot mkdir -p $dst @@ -197,5 +197,5 @@ rm Packages.gz #ln -s $date current.new #mv -Tf current.new current -echo $date -echo 2 downloaded $dstroot/$arch/$date +echo New TftpDiVersion: $date +echo 2 downloaded $dstroot/$dst -- 2.1.4 ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel