summaryrefslogtreecommitdiff
path: root/testing/docker/common-scripts/ctng-build-sample
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-10-28 10:44:22 -0700
committerAlexey Neyman <stilor@att.net>2018-10-28 10:44:22 -0700
commit9d432466648c50ca379ccc2db1c2839c3a7465fa (patch)
treea0808202c696fae7edd451dc08a4309da600b311 /testing/docker/common-scripts/ctng-build-sample
parentdc01f618986a45a61ba35f9ecc3eaf1e884d715c (diff)
downloadcrosstool-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/ctng-build-sample')
-rwxr-xr-xtesting/docker/common-scripts/ctng-build-sample8
1 files changed, 2 insertions, 6 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="$*"}