From 3ef9b13886f5ef7428c44a7361fc0dda910b2d6f Mon Sep 17 00:00:00 2001 From: "totten@civicrm.org" Date: Sat, 21 Jun 2014 04:46:55 -0700 Subject: [PATCH] distmaker - Simplify l10n.sh --- distmaker/dists/l10n.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.25.1