[dak/master] 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 f0acb68..2bbad17 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.1.4
Reply to: