20 lines
382 B
Bash
20 lines
382 B
Bash
#!/bin/bash
|
|
|
|
exec &> /tmp/clone_repos.log
|
|
|
|
function include(){
|
|
curr_dir=$(cd $(dirname "$0") && pwd)
|
|
inc_file_path=$curr_dir/$1
|
|
if [ -f "$inc_file_path" ]; then
|
|
. $inc_file_path
|
|
else
|
|
echo -e "$inc_file_path not found!"
|
|
exit 1
|
|
fi
|
|
}
|
|
include "common.sh"
|
|
|
|
cd /root/cf_nise_installer
|
|
./scripts/clone_nise_bosh.sh
|
|
./scripts/clone_cf_release.sh
|