From 8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 9 Mar 2020 03:37:34 +0100 Subject: Initial release --- build/setup/provision.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 build/setup/provision.sh (limited to 'build/setup/provision.sh') diff --git a/build/setup/provision.sh b/build/setup/provision.sh new file mode 100644 index 0000000..8066399 --- /dev/null +++ b/build/setup/provision.sh @@ -0,0 +1,15 @@ +#! /usr/bin/env bash + +set -o errexit + +setup_path="$1" +repos_path="$2" +[ -z "$setup_path" ] && setup_path="/root/setup" +[ -z "$repos_path" ] && repos_path="/ccpi/repos" + +for name in "$repos_path"/*; do + ( + cd $name + [ -f "ands_install.sh" ] && bash "ands_install.sh" + ) +done -- cgit v1.2.3