File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ install_wp() {
6363
6464 if [[ $WP_VERSION == ' nightly' || $WP_VERSION == ' trunk' ]]; then
6565 mkdir -p $TMPDIR /wordpress-trunk
66+ rm -rf $TMPDIR /wordpress-trunk/*
6667 svn export --quiet https://core.svn.wordpress.org/trunk $TMPDIR /wordpress-trunk/wordpress
6768 mv $TMPDIR /wordpress-trunk/wordpress/* $WP_CORE_DIR
6869 else
@@ -106,6 +107,7 @@ install_test_suite() {
106107 if [ ! -d $WP_TESTS_DIR ]; then
107108 # set up testing suite
108109 mkdir -p $WP_TESTS_DIR
110+ rm -rf $WP_TESTS_DIR /{includes,data}
109111 svn export --quiet --ignore-externals https://develop.svn.wordpress.org/${WP_TESTS_TAG} /tests/phpunit/includes/ $WP_TESTS_DIR /includes
110112 svn export --quiet --ignore-externals https://develop.svn.wordpress.org/${WP_TESTS_TAG} /tests/phpunit/data/ $WP_TESTS_DIR /data
111113 fi
You can’t perform that action at this time.
0 commit comments