Merge pull request #17100 from artfulrobot/artfulrobot-lab-1917
[civicrm-core.git] / distmaker / dists / l10n.sh
index 20439adfd17460a0595e9c44945709237e2536e0..5a08606868bb4fbfc1be62c6f5e9030605af1018 100644 (file)
@@ -14,10 +14,8 @@ fi
 SRC=$DM_SOURCEDIR
 TRG=$DM_TMPDIR/civicrm
 
-# make sure and clean up before
-[ -d $TRG ] && rm -rf $TRG/*
-
 # copy all the stuff
+dm_reset_dirs "$TRG"
 dm_install_l10n "$SRC/l10n" "$TRG/l10n"
 
 [ ! -d $TRG/sql ] && mkdir $TRG/sql