contrib/remote-helpers: quote variable references in redirection targets
commit5d21adcbfe5540b89831fef2a2581d54dee4d478
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 Aug 2013 21:20:18 +0000 (29 14:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Sep 2013 17:25:58 +0000 (3 10:25 -0700)
tree14c3ce79dba37f42c939fcd3642e9b5a1ba24aac
parentff867963f01ab9b5f1d27ef2e7b255fcb74281d5
contrib/remote-helpers: quote variable references in redirection targets

Even though it is not required by POSIX to double-quote the
redirection target in a variable, our code does so because some
versions of bash issue a warning without the quotes.

Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/test-hg-hg-git.sh