20 lines
365 B
Bash
20 lines
365 B
Bash
#!/bin/bash
|
|
|
|
exec &> /tmp/install_environemnt.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/install_environemnt.sh
|
|
|