Update build.sh
This commit is contained in:
parent
ca97c22568
commit
197a63d2f8
6
build.sh
6
build.sh
@ -39,10 +39,12 @@ do
|
||||
echo "Configuring Lixonet3 network $netname from $git..."
|
||||
echo "Variables: $sigil_vars"
|
||||
|
||||
# Clone and enter the repository
|
||||
# Clone and copy the repository
|
||||
rm -rf "$(basename "$git" .git)"
|
||||
git clone $git || { echo "clone $git failed, quitting" ; exit 1; }
|
||||
cd "$(basename "$git" .git)"
|
||||
rm -rf work
|
||||
mkdir work
|
||||
cp -r "$(basename "$git" .git)"/* work/ && cd work
|
||||
|
||||
# Copy default files
|
||||
cp -r ../tinc/* tinc/
|
||||
|
Loading…
x
Reference in New Issue
Block a user