[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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.campbell@xxxxxxxxxx> --- 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |