Update build.sh

This commit is contained in:
sump pump 2020-06-28 14:00:45 -06:00 committed by GitHub
parent 1a2d296b58
commit 611c091e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,9 @@ do
# Clone and copy the repository
rm -rf "$(basename "$git" .git)"
git clone $git || { echo "clone $git failed, quitting" ; exit 1; }
echo "Creating work directory..."
rm -rf work
mkdir work
mkdir --verbose work
cp -r "$(basename "$git" .git)"/* work/ && cd work
# Copy default files