diff options
author | Alexey Neyman <stilor@att.net> | 2018-10-28 10:44:22 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-10-28 10:44:22 -0700 |
commit | 9d432466648c50ca379ccc2db1c2839c3a7465fa (patch) | |
tree | a0808202c696fae7edd451dc08a4309da600b311 /testing/docker/common-scripts | |
parent | dc01f618986a45a61ba35f9ecc3eaf1e884d715c (diff) | |
download | crosstool-ng-9d432466648c50ca379ccc2db1c2839c3a7465fa.tar.gz crosstool-ng-9d432466648c50ca379ccc2db1c2839c3a7465fa.tar.bz2 crosstool-ng-9d432466648c50ca379ccc2db1c2839c3a7465fa.zip |
Change the layout a bit
... to a more natural installation paths, and also include ct-ng into
$PATH in the containers.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/common-scripts')
-rwxr-xr-x | testing/docker/common-scripts/ctng-build-sample | 8 | ||||
-rwxr-xr-x | testing/docker/common-scripts/ctng-install | 7 | ||||
-rwxr-xr-x | testing/docker/common-scripts/ctng-test-basic | 1 |
3 files changed, 4 insertions, 12 deletions
diff --git a/testing/docker/common-scripts/ctng-build-sample b/testing/docker/common-scripts/ctng-build-sample index 6a6de6a0..ef823ee9 100755 --- a/testing/docker/common-scripts/ctng-build-sample +++ b/testing/docker/common-scripts/ctng-build-sample @@ -1,9 +1,5 @@ #!/bin/bash set -e -cd -rm -rf work/bld-samples -mkdir -p work/bld-samples work/inst-xtools -cd work/bld-samples -export PATH=$HOME/work/inst-ctng/bin:$PATH -ct-ng build-all CT_PREFIX=$HOME/work/inst-xtools ${1+CT_SAMPLES="$*"} +cd work +ct-ng build-all ${1+CT_SAMPLES="$*"} diff --git a/testing/docker/common-scripts/ctng-install b/testing/docker/common-scripts/ctng-install index 500cb73d..6994fd5d 100755 --- a/testing/docker/common-scripts/ctng-install +++ b/testing/docker/common-scripts/ctng-install @@ -1,10 +1,7 @@ #!/bin/bash set -e -cd -rm -rf work/bld-ctng work/inst-ctng -mkdir work/bld-ctng -cd work/bld-ctng -/crosstool-ng/configure --prefix=$HOME/work/inst-ctng +cd work +/crosstool-ng/configure --prefix=/opt/ctng make make install diff --git a/testing/docker/common-scripts/ctng-test-basic b/testing/docker/common-scripts/ctng-test-basic index 0edb8998..a811ec6c 100755 --- a/testing/docker/common-scripts/ctng-test-basic +++ b/testing/docker/common-scripts/ctng-test-basic @@ -2,7 +2,6 @@ set -e cd -export PATH=$HOME/work/inst-ctng/bin:$PATH ct-ng help ct-ng list-samples ct-ng list-steps |