#!/bin/bash
-set -e
+set -ex
# This script assumes
# that DAOs are generated
cp $SRC/agpl-3.0.txt $TRG
cp $SRC/gpl.txt $TRG
cp $SRC/README.txt $TRG
-cp $SRC/Sponsors.txt $TRG
+cp $SRC/CONTRIBUTORS.txt $TRG
cp $SRC/agpl-3.0.exception.txt $TRG
cp $SRC/civicrm.config.php $TRG
cp -r -p civicrm/joomla/admin/plugins/* com_civicrm/admin/plugins
cp civicrm/joomla/admin/language/en-GB/* com_civicrm/admin/language/en-GB
+# joomla 3.0 like admin.civicrm.php to be called civicrm.php
+# lets keep both versions there
+cp com_civicrm/admin/admin.civicrm.php com_civicrm/admin/civicrm.php
# copying front end code
cp civicrm/joomla/site/civicrm.html.php com_civicrm/site