]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Fix test error for /bin/sh on Solaris 10 and older
authorCarlos Rodríguez Gili <carlos.rodriguez-gili@upc.edu>
Tue, 20 Apr 2021 17:23:57 +0000 (19:23 +0200)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 25 May 2023 08:24:42 +0000 (18:24 +1000)
commit914f4ad138714c471ba72fb6d5496b6235320edd
treef7e44d5a161966530a21b135408701ee16c1576f
parentbd382dca316c721aed1e45edcf4c4e0f6374afb0
Fix test error for /bin/sh on Solaris 10 and older

On Solaris 10 and older targets /bin/sh is not POSIX-compliant.
Test -z `...` fails with error 'sh: test: argument expected'.
Using quotes around backticks fixes this and doesn't break
POSIX compatibility.

SSH-Copy-ID-Upstream: 98394072a3f985b2650c1e8eab2fef84e38cc065
contrib/ssh-copy-id