]> git.decadent.org.uk Git - dak.git/commitdiff
Quote argument to --exclude
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 22 May 2016 14:07:07 +0000 (16:07 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 22 May 2016 14:07:07 +0000 (16:07 +0200)
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

index f0acb683d74a4e1b36c02967aee0819dffe7f9cb..2bbad17a1f6b31db2d463cc9d902e1933a965ae6 100755 (executable)
@@ -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