From 34d1de19782e64c554547db09a5785825dec0bbc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Mar 2018 12:50:28 +0200 Subject: Rename manifest in bootstrap scripts, add backwards-compatibility to agent --- etc/bootstrap/bbot-bootstrap-mingw.bat | 7 ++++--- etc/bootstrap/bbot-bootstrap-msvc-14.bat | 7 ++++--- etc/bootstrap/bbot-bootstrap-msvc-15.bat | 7 ++++--- etc/bootstrap/bbot-bootstrap.sh | 7 ++++--- 4 files changed, 16 insertions(+), 12 deletions(-) (limited to 'etc/bootstrap') diff --git a/etc/bootstrap/bbot-bootstrap-mingw.bat b/etc/bootstrap/bbot-bootstrap-mingw.bat index 00912a8..3257aaf 100644 --- a/etc/bootstrap/bbot-bootstrap-mingw.bat +++ b/etc/bootstrap/bbot-bootstrap-mingw.bat @@ -162,12 +162,13 @@ rmdir /S /Q %config% @if errorlevel 1 goto error @rem -@rem Finish off by uploading the result manifest produced by the bbot worker. +@rem Finish off by uploading the bootstrap result manifest produced by +@rem the bbot worker. @rem -bbot-worker --bootstrap >manifest +bbot-worker --bootstrap >bootstrap.manifest @if errorlevel 1 goto error -curl -s -S --upload-file manifest "tftp://%tftp%/manifest" +curl -s -S --upload-file bootstrap.manifest "tftp://%tftp%/bootstrap.manifest" @if errorlevel 1 goto error shutdown /s /t 5 diff --git a/etc/bootstrap/bbot-bootstrap-msvc-14.bat b/etc/bootstrap/bbot-bootstrap-msvc-14.bat index 0e129b7..c16ba7a 100644 --- a/etc/bootstrap/bbot-bootstrap-msvc-14.bat +++ b/etc/bootstrap/bbot-bootstrap-msvc-14.bat @@ -152,12 +152,13 @@ rmdir /S /Q %config% @if errorlevel 1 goto error @rem -@rem Finish off by uploading the result manifest produced by the bbot worker. +@rem Finish off by uploading the bootstrap result manifest produced by the +@rem bbot worker. @rem -bbot-worker --bootstrap >manifest +bbot-worker --bootstrap >bootstrap.manifest @if errorlevel 1 goto error -curl -s -S --upload-file manifest "tftp://%tftp%/manifest" +curl -s -S --upload-file bootstrap.manifest "tftp://%tftp%/bootstrap.manifest" @if errorlevel 1 goto error shutdown /s /t 5 diff --git a/etc/bootstrap/bbot-bootstrap-msvc-15.bat b/etc/bootstrap/bbot-bootstrap-msvc-15.bat index 6e81052..ce3986a 100644 --- a/etc/bootstrap/bbot-bootstrap-msvc-15.bat +++ b/etc/bootstrap/bbot-bootstrap-msvc-15.bat @@ -150,12 +150,13 @@ rmdir /S /Q %config% @if errorlevel 1 goto error @rem -@rem Finish off by uploading the result manifest produced by the bbot worker. +@rem Finish off by uploading the bootstrap result manifest produced by the +@rem bbot worker. @rem -bbot-worker --bootstrap >manifest +bbot-worker --bootstrap >bootstrap.manifest @if errorlevel 1 goto error -curl -s -S --upload-file manifest "tftp://%tftp%/manifest" +curl -s -S --upload-file bootstrap.manifest "tftp://%tftp%/bootstrap.manifest" @if errorlevel 1 goto error shutdown /s /t 5 diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh index 1505a4b..84489a7 100755 --- a/etc/bootstrap/bbot-bootstrap.sh +++ b/etc/bootstrap/bbot-bootstrap.sh @@ -134,7 +134,8 @@ run bpkg install bbot run cd .. run rm -r "$config" -# Finish off by uploading the result manifest produced by the bbot worker. +# Finish off by uploading the bootstrap result manifest produced by the bbot +# worker. # -run bbot-worker --bootstrap >manifest -run curl -s -S --upload-file manifest "tftp://$tftp/manifest" +run bbot-worker --bootstrap >bootstrap.manifest +run curl -s -S --upload-file bootstrap.manifest "tftp://$tftp/bootstrap.manifest" -- cgit v1.1