From 6e31009ace24402ac96eec65e7b370192f8dc99b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 22 Apr 2017 12:58:17 +0200 Subject: Rename directory toolchain/ to toolchains/ To be consistent with machines/ --- buildos | 20 ++++++++++---------- doc/manual.cli | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/buildos b/buildos index 2e484a2..2dce5b6 100755 --- a/buildos +++ b/buildos @@ -153,7 +153,7 @@ for tn in "${!toolchains[@]}"; do declare "${tp}toolchain_file=$tf" declare "${tp}toolchain_csum=$(sed -n -re 's%^.+\.([^.]+)$%\1%p' <<<"$tf")" - declare "${tp}toolchain_root=/build/tftp/toolchain/$tn" + declare "${tp}toolchain_root=/build/tftp/toolchains/$tn" declare "${tp}toolchain_ver=" # If buildos.toolchain_trust was not specified, set it to "no" so that @@ -566,10 +566,10 @@ function toolchain_bootstrap () # # echo "$tt" >"$tr/trust" - # Bootstrap in /tmp/toolchain/$tn/, install to /build/toolchain/$tn/. + # Bootstrap in /tmp/toolchains/$tn/, install to /build/toolchains/$tn/. # - local wd="/tmp/toolchain/$tn" - local id="/build/toolchain/$tn" + local wd="/tmp/toolchains/$tn" + local id="/build/toolchains/$tn" mkdir -p "$wd" mkdir -p "$id" @@ -614,9 +614,9 @@ function bbot_check () # { local tn="$1" - export PATH="/build/toolchain/$tn/bin:$PATH" # Running in subshell. + export PATH="/build/toolchains/$tn/bin:$PATH" # Running in subshell. - cd "/tmp/toolchain/$tn/build2-toolchain" + cd "/tmp/toolchains/$tn/build2-toolchain" local r=3 @@ -674,9 +674,9 @@ function bbot_start () # # local vars=(config.install.root="$id" config.bin.rpath="$id/lib") - export PATH="/build/toolchain/$tn/bin:$PATH" # Running in subshell. + export PATH="/build/toolchains/$tn/bin:$PATH" # Running in subshell. - cd "/tmp/toolchain/$tn/build2-toolchain" + cd "/tmp/toolchains/$tn/build2-toolchain" local r=1 @@ -864,7 +864,7 @@ EOF info "$s" email "$s" </} (the file path is taken as relative to +\c{/build/tftp/toolchains//} (the file path is taken as relative to \c{toolchain_url}), verifies their checksums, and creates \i{predictable name} symlinks (names without the version). It also creates the \c{version} which contains the toolchain version and the \c{trust} file which contains the @@ -347,7 +347,7 @@ value of the \c{buildos.toolchain_trust} parameter or the special \c{\"no\"} value if none were specified. Continuing with the above example, the contents of -\c{/build/tftp/toolchain/default/} would be: +\c{/build/tftp/toolchains/default/} would be: \ version -- cgit v1.1