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!"
20 RSYNCOPTIONS
="-avC $DM_EXCLUDES_RSYNC --include=core"
21 RSYNCCOMMAND
="$DM_RSYNC $RSYNCOPTIONS"
23 TRG
=$DM_TMPDIR/civicrm
25 # checkout the right code revisions
26 pushd "$DM_SOURCEDIR/WordPress"
27 git checkout
"$DM_REF_WORDPRESS"
30 # make sure and clean up before
35 if [ ! -d $TRG ] ; then
39 if [ ! -d $TRG/civicrm
] ; then
43 if [ ! -d $TRG/civicrm
/civicrm
] ; then
44 mkdir
$TRG/civicrm
/civicrm
48 dm_install_core
"$SRC" "$TRG/civicrm/civicrm"
49 dm_install_packages
"$SRC/packages" "$TRG/civicrm/civicrm/packages"
51 for F
in $SRC/WordPress
/*; do
54 rm -f $TRG/civicrm
/civicrm.config.php.wordpress
57 cp $SRC/WordPress
/civicrm.config.php.wordpress
$TRG/civicrm
/civicrm
/civicrm.config.php
61 function civicrmVersion( ) {
62 return array( 'version' => '$DM_VERSION',
64 'revision' => '$DM_REVISION' );
66 " > $TRG/civicrm
/civicrm
/civicrm-version.php
70 $DM_ZIP -r -9 $DM_TARGETDIR/civicrm-
$DM_VERSION-wordpress.
zip *