aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bootstrap/bbot-bootstrap-macos.sh2
-rw-r--r--etc/bootstrap/bbot-bootstrap-msvc.bat4
-rw-r--r--etc/bootstrap/bbot-bootstrap.service4
-rwxr-xr-xetc/bootstrap/bbot-bootstrap.sh10
-rwxr-xr-xetc/environments/default (renamed from etc/environment/default)2
-rw-r--r--etc/environments/default-msvc.bat (renamed from etc/environment/default-msvc.bat)2
6 files changed, 12 insertions, 12 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-macos.sh b/etc/bootstrap/bbot-bootstrap-macos.sh
index e0a8ac7..8fee3b9 100755
--- a/etc/bootstrap/bbot-bootstrap-macos.sh
+++ b/etc/bootstrap/bbot-bootstrap-macos.sh
@@ -3,7 +3,7 @@
# open -a Terminal -n -F ~/bbot-bootstrap-macos.sh
if ~/bbot-bootstrap.sh --cxx clang++ --build /tmp \
- --environment "$HOME/environment"; then
+ --environments "$HOME/environments"; then
sleep 2
sudo shutdown -h now
fi
diff --git a/etc/bootstrap/bbot-bootstrap-msvc.bat b/etc/bootstrap/bbot-bootstrap-msvc.bat
index 4b60f5d..b502c7b 100644
--- a/etc/bootstrap/bbot-bootstrap-msvc.bat
+++ b/etc/bootstrap/bbot-bootstrap-msvc.bat
@@ -12,7 +12,7 @@ set "VCVARS=%MSVC%\VC\Auxiliary\Build\vcvars64.bat"
set "BUILD=C:\tmp"
set "INSTALL=C:\build2"
set "BOOTSTRAP=C:\bootstrap"
-set "ENVIRONMENT=C:\environment"
+set "ENVIRONMENTS=C:\environments"
set "TFTP=196.254.111.222"
rem set "TFTP=10.1.0.1:55123"
@@ -22,7 +22,7 @@ rem If we already have the bbot worker, assume we are bootstrapped.
rem
if exist %INSTALL%\bin\bbot-worker.exe (
set "PATH=%INSTALL%\bin;%PATH%"
- bbot-worker.exe --startup --build %BUILD% --environment %ENVIRONMENT%^
+ bbot-worker.exe --startup --build %BUILD% --environments %ENVIRONMENTS%^
--tftp-host %TFTP% --verbose %VERBOSE%
goto end
)
diff --git a/etc/bootstrap/bbot-bootstrap.service b/etc/bootstrap/bbot-bootstrap.service
index ecb0da4..8ff2aab 100644
--- a/etc/bootstrap/bbot-bootstrap.service
+++ b/etc/bootstrap/bbot-bootstrap.service
@@ -15,12 +15,12 @@ WorkingDirectory=/home/build
Environment=CXX=g++
Environment=BUILD=/tmp
-Environment=ENVIRONMENT=/home/build/environment
+Environment=ENVIRONMENTS=/home/build/environments
ExecStart=/usr/local/bin/bbot-bootstrap.sh \
--cxx ${CXX} \
--build ${BUILD} \
- --environment ${ENVIRONMENT}
+ --environments ${ENVIRONMENTS}
StandardInput=tty-force
StandardOutput=inherit
diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh
index 9473abe..9e7ace8 100755
--- a/etc/bootstrap/bbot-bootstrap.sh
+++ b/etc/bootstrap/bbot-bootstrap.sh
@@ -35,7 +35,7 @@ run ()
#
cxx=g++
build=/tmp
-environment="$HOME/environment"
+environments="$HOME/environments"
# Parse options.
#
@@ -57,12 +57,12 @@ while test $# -ne 0; do
build="$1"
shift
;;
- --environment)
+ --environments)
shift
if test $# -eq 0; then
- error "missing environment directory after --environment"
+ error "missing environments directory after --environments"
fi
- environment="$1"
+ environments="$1"
shift
;;
*)
@@ -90,7 +90,7 @@ export PATH
# If we already have the bbot worker, assume we are bootstrapped.
#
if bbot-worker --version >/dev/null 2>&1; then
- exec bbot-worker --startup --build "$build" --environment "$environment" \
+ exec bbot-worker --startup --build "$build" --environments "$environments" \
--tftp-host "$tftp" --verbose "$verbose"
fi
diff --git a/etc/environment/default b/etc/environments/default
index 82107f6..f4a19aa 100755
--- a/etc/environment/default
+++ b/etc/environments/default
@@ -1,6 +1,6 @@
#!/bin/sh
-# file : etc/environment/default
+# file : etc/environments/default
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : TBC; see accompanying LICENSE file
diff --git a/etc/environment/default-msvc.bat b/etc/environments/default-msvc.bat
index 64c325d..40ec364 100644
--- a/etc/environment/default-msvc.bat
+++ b/etc/environments/default-msvc.bat
@@ -1,6 +1,6 @@
@echo off
-rem file : etc/environment/default-msvc.bat
+rem file : etc/environments/default-msvc.bat
rem copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
rem license : TBC; see accompanying LICENSE file