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
26 # checkout the right code revisions
27 pushd "$DM_SOURCEDIR/drupal"
29 git checkout
"$DM_REF_DRUPAL6"
32 # make sure and clean up before
38 dm_install_core
"$SRC" "$TRG"
39 for CODE
in packages drupal
; do
41 [ -d $SRC/$CODE ] && $RSYNCCOMMAND $SRC/$CODE $TRG
45 cp $SRC/drupal
/civicrm.config.php.drupal
$TRG/civicrm.config.php
49 function civicrmVersion( ) {
50 return array( 'version' => '$DM_VERSION',
52 'revision' => '$DM_REVISION' );
54 " > $TRG/civicrm-version.php
58 tar czf
$DM_TARGETDIR/civicrm-
$DM_VERSION-drupal6.
tar.gz civicrm