[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v2 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.campbell@xxxxxxxxxx>
---
v2: Output suitable for direct cut-n-paste
---
 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..1595ae5 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 "TftpDiVersion $date"
+echo >&2 "downloaded $dstroot/$dst"
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.