crosstool-ng/testing/docker/common-scripts/ctng-build-sample
Alexey Neyman bd60424e09 Add the ability to run some but not all samples in docker
Also, build containers with --no-cache: distributions like ArchLinux
retire their packages very quickly, need to always use up-to-date
package databases.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-29 23:03:26 -07:00

10 lines
150 B
Bash
Executable File

#!/bin/bash
set -e
cd
rm -rf bld-samples
mkdir bld-samples
cd bld-samples
export PATH=$HOME/inst-ctng/bin:$PATH
ct-ng build-all ${1+CT_SAMPLES="$*"}