]> gitweb.fluxo.info Git - backupninja.git/commit
Run rsync command-line through a shell, so that single-quotes around excludes are...
authorintrigeri <intrigeri@boum.org>
Fri, 15 Jun 2012 18:27:31 +0000 (20:27 +0200)
committerintrigeri <intrigeri@boum.org>
Fri, 15 Jun 2012 18:30:25 +0000 (20:30 +0200)
commit29dcdbae919787978fafd41a12d48338958e92f9
treef7d078179c930b6dd13ad28bf878b53e6effb91a
parent1b48bc44445cba33a748bb8ad2833d7e2187d1ad
Run rsync command-line through a shell, so that single-quotes around excludes are interpreted (Closes: #677410)

When --exclude 'something' is passed directly to rsync without going through
a shell, rsync tries to match a file whose name contains single quotes, which is
definitely not what we want it to do: exclude arguments protected with single
quotes are meant to be passed to a shell.
handlers/rsync.in