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 #13401 from PeaceWorksTechnologySolutions/master
[civicrm-core.git]
/
distmaker
/
dists
/
l10n.sh
diff --git
a/distmaker/dists/l10n.sh
b/distmaker/dists/l10n.sh
index 20439adfd17460a0595e9c44945709237e2536e0..5a08606868bb4fbfc1be62c6f5e9030605af1018 100644
(file)
--- a/
distmaker/dists/l10n.sh
+++ b/
distmaker/dists/l10n.sh
@@
-14,10
+14,8
@@
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"
[ ! -d $TRG/sql ] && mkdir $TRG/sql
dm_install_l10n "$SRC/l10n" "$TRG/l10n"
[ ! -d $TRG/sql ] && mkdir $TRG/sql