distmaker - Simplify l10n.sh
authortotten@civicrm.org <Tim Otten>
Sat, 21 Jun 2014 11:46:55 +0000 (04:46 -0700)
committertotten@civicrm.org <Tim Otten>
Sun, 22 Jun 2014 07:58:02 +0000 (00:58 -0700)
distmaker/dists/l10n.sh

index 9dc91e260ddb32b0d6124fc27541b56f5396b6a5..20439adfd17460a0595e9c44945709237e2536e0 100644 (file)
@@ -19,17 +19,15 @@ TRG=$DM_TMPDIR/civicrm
 
 # copy all the stuff
 dm_install_l10n "$SRC/l10n" "$TRG/l10n"
-dm_install_files "$SRC" "$TRG" {agpl-3.0,agpl-3.0.exception,gpl,README,CONTRIBUTORS}.txt
 
-# copy selected sqls
 [ ! -d $TRG/sql ] && mkdir $TRG/sql
-for F in $SRC/sql/civicrm*.mysql $SRC/sql/case_sample*.mysql; do
+for F in $SRC/sql/civicrm_*.??_??.mysql; do
        cp $F $TRG/sql
 done
 
 # gen tarball
 cd $TRG/..
-tar czf $DM_TARGETDIR/civicrm-$DM_VERSION-l10n.tar.gz --exclude '*.po' --exclude pot civicrm/l10n civicrm/sql/civicrm_*.??_??.mysql
+tar czf $DM_TARGETDIR/civicrm-$DM_VERSION-l10n.tar.gz --exclude '*.po' --exclude pot civicrm
 
 # clean up
 rm -rf $TRG