From c080147bdebaac115e77ea7ab979ad5d22e7eaba Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 22 May 2016 16:07:07 +0200 Subject: [PATCH] Quote argument to --exclude There must only be one argument passed to rsync's --exclude option, the wildcard should not be expanded by the shell. --- config/debian/dinstall.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index f0acb683..2bbad17a 100755 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -152,7 +152,7 @@ function dep11() { for comp in main contrib non-free; do mkdir -p ${ftpdir}/dists/${dir}/${comp}/dep11 cd ${dir}/${comp} - rsync -aq --delete --delete-after --exclude ./*.tmp . ${ftpdir}/dists/${dir}/${comp}/dep11/. + rsync -aq --delete --delete-after --exclude "./*.tmp" . ${ftpdir}/dists/${dir}/${comp}/dep11/. cd ${dep11dir} done fi -- 2.39.5