From: totten@civicrm.org Date: Sat, 21 Jun 2014 11:46:55 +0000 (-0700) Subject: distmaker - Simplify l10n.sh X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3ef9b13886f5ef7428c44a7361fc0dda910b2d6f;p=civicrm-core.git distmaker - Simplify l10n.sh --- diff --git a/distmaker/dists/l10n.sh b/distmaker/dists/l10n.sh index 9dc91e260d..20439adfd1 100644 --- a/distmaker/dists/l10n.sh +++ b/distmaker/dists/l10n.sh @@ -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