5 # that DAOs are generated
6 # and all the necessary conversions had place!
9 CFFILE
=$P/..
/distmaker.conf
11 if [ ! -f $CFFILE ] ; then
12 echo "NO DISTMAKER.CONF FILE!"
21 TRG
=$DM_TMPDIR/civicrm
23 # checkout the right code revisions
24 pushd "$DM_SOURCEDIR/WordPress"
25 git checkout
"$DM_REF_WORDPRESS"
28 # make sure and clean up before
33 if [ ! -d $TRG ] ; then
37 if [ ! -d $TRG/civicrm
] ; then
41 if [ ! -d $TRG/civicrm
/civicrm
] ; then
42 mkdir
$TRG/civicrm
/civicrm
46 dm_install_core
"$SRC" "$TRG/civicrm/civicrm"
47 dm_install_packages
"$SRC/packages" "$TRG/civicrm/civicrm/packages"
49 for F
in $SRC/WordPress
/*; do
52 rm -f $TRG/civicrm
/civicrm.config.php.wordpress
55 cp $SRC/WordPress
/civicrm.config.php.wordpress
$TRG/civicrm
/civicrm
/civicrm.config.php
56 dm_generate_version
"$TRG/civicrm/civicrm/civicrm-version.php" Wordpress
60 $DM_ZIP -r -9 $DM_TARGETDIR/civicrm-
$DM_VERSION-wordpress.
zip *