From 25a1234ef71c48e52e1aa43e8af37d1261aaf937 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 30 Aug 2004 21:33:02 +1000 Subject: - (dtucker) [Makefile.in contrib/ssh-copy-id] Bug #894: Improve portability of shell constructs. Patch from cjwatson at debian.org. --- 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 a1c0a9234..1555b5d37 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -24,7 +24,7 @@ else fi fi -if [ -z "`eval $GET_ID`" -a -r "${ID_FILE}" ] ; then +if [ -z "`eval $GET_ID`" ] && [ -r "${ID_FILE}" ] ; then GET_ID="cat ${ID_FILE}" fi -- cgit v1.2.3