Skip to content

Commit de7d206

Browse files
committed
ensure that destination directories don't exist before creating them
1 parent cfd6d7c commit de7d206

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ function sparse_checkout {
88
git remote add -f origin http://github.com/$1/$2
99
echo Resources/doc > .git/info/sparse-checkout
1010
git checkout master
11+
rm -rf ../bundles/$2
1112
mv Resources/doc ../bundles/$2
1213
cd ..
1314
rm -rf sparse_checkout
@@ -18,5 +19,6 @@ sparse_checkout sensiolabs SensioGeneratorBundle
1819
sparse_checkout doctrine DoctrineFixturesBundle
1920
sparse_checkout doctrine DoctrineMigrationsBundle
2021
sparse_checkout doctrine DoctrineMongoDBBundle
22+
rm -rf cmf
2123
git clone http://github.com/symfony-cmf/symfony-cmf-docs cmf
2224

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy