Update build.sh
This commit is contained in:
parent
1a2d296b58
commit
611c091e7d
3
build.sh
3
build.sh
@ -42,8 +42,9 @@ do
|
|||||||
# Clone and copy the repository
|
# Clone and copy the repository
|
||||||
rm -rf "$(basename "$git" .git)"
|
rm -rf "$(basename "$git" .git)"
|
||||||
git clone $git || { echo "clone $git failed, quitting" ; exit 1; }
|
git clone $git || { echo "clone $git failed, quitting" ; exit 1; }
|
||||||
|
echo "Creating work directory..."
|
||||||
rm -rf work
|
rm -rf work
|
||||||
mkdir work
|
mkdir --verbose work
|
||||||
cp -r "$(basename "$git" .git)"/* work/ && cd work
|
cp -r "$(basename "$git" .git)"/* work/ && cd work
|
||||||
|
|
||||||
# Copy default files
|
# Copy default files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user