projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #13795 from kewljuice/issue_788
[civicrm-core.git]
/
distmaker
/
dists
/
l10n.sh
diff --git
a/distmaker/dists/l10n.sh
b/distmaker/dists/l10n.sh
index 9dc91e260ddb32b0d6124fc27541b56f5396b6a5..5a08606868bb4fbfc1be62c6f5e9030605af1018 100644
(file)
--- a/
distmaker/dists/l10n.sh
+++ b/
distmaker/dists/l10n.sh
@@
-14,22
+14,18
@@
fi
SRC=$DM_SOURCEDIR
TRG=$DM_TMPDIR/civicrm
SRC=$DM_SOURCEDIR
TRG=$DM_TMPDIR/civicrm
-# make sure and clean up before
-[ -d $TRG ] && rm -rf $TRG/*
-
# copy all the stuff
# copy all the stuff
+dm_reset_dirs "$TRG"
dm_install_l10n "$SRC/l10n" "$TRG/l10n"
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
[ ! -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/..
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
# clean up
rm -rf $TRG