From d1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 12 Aug 2011 11:22:47 +1000 Subject: - (djm) [contrib/ssh-copy-id] Fix failure for cases where the path to the identify file contained whitespace. bz#1828 patch from gwenael.lambrouin AT gmail.com; ok dtucker@ --- contrib/ssh-copy-id | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/ssh-copy-id') diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 368645cb4..eca7cf520 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -25,7 +25,7 @@ else fi if [ -z "`eval $GET_ID`" ] && [ -r "${ID_FILE}" ] ; then - GET_ID="cat ${ID_FILE}" + GET_ID="cat "${ID_FILE}\"" fi if [ -z "`eval $GET_ID`" ]; then -- cgit v1.2.3