From: totten@civicrm.org Date: Sat, 21 Jun 2014 12:58:41 +0000 (-0700) Subject: distmaker - dm_install_wordpress - Should allow building on "wp-demo" (untested) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d0f9587835e4fcb822cbb87fc9934f65ade59185;p=civicrm-core.git distmaker - dm_install_wordpress - Should allow building on "wp-demo" (untested) --- diff --git a/distmaker/dists/common.sh b/distmaker/dists/common.sh index 39159de7c9..6cd98a40ed 100644 --- a/distmaker/dists/common.sh +++ b/distmaker/dists/common.sh @@ -145,8 +145,18 @@ function dm_install_l10n() { function dm_install_wordpress() { local repo="$1" local to="$2" - dm_install_dir "$repo" "$to" - dm_remove_files "$to" civicrm.config.php.wordpress .gitignore + + if [ ! -d "$to" ]; then + mkdir -p "$to" + fi + $DM_RSYNC -avC \ + --exclude=.git \ + --exclude=.svn \ + --exclude=civicrm.config.php.wordpress \ + --exclude=.gitignore \ + --exclude=civicrm \ + "$repo/./" "$to/./" + ## Need --exclude=civicrm for self-building on WP site } ## Generate civicrm-version.php