optimize clone

This commit is contained in:
Roland Gruber 2020-01-16 20:38:45 +01:00
parent 7b222d9edb
commit d9fd4b36e2
1 changed files with 2 additions and 2 deletions

View File

@ -51,14 +51,14 @@ function minifyCSS {
} }
echo "Getting files..." echo "Getting files..."
git clone -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github git clone --depth 1 -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github
cd github cd github
mv lam ../ mv lam ../
mv lam-packaging ../ mv lam-packaging ../
cd .. cd ..
rm -rf github rm -rf github
git clone -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro git clone --depth 1 -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
cd lamPro cd lamPro
rm -rf .git rm -rf .git
rm -rf docker rm -rf docker