[Buildroot] [PATCHv2 7/8] support/download/scp: implement source-check
Arnout Vandecappelle
arnout at mind.be
Sat Feb 9 16:48:15 UTC 2019
On 04/02/2019 19:05, Thomas De Schampheleire wrote:
> +if [ -n "${checkonly}" ]; then
> + # uri now looks like: foo.example.org:some/directory
> + domain="${uri%%:*}"
> + path="${uri#*:}/${filename}"
> + _ssh ${verbose} "${@}" "'${domain}'" ls "'${path}'" > /dev/null
I don't know if it happens in practice, but it is possible to have scp access
to a machine but no 'ls' that you can run over ssh.
Regards,
Arnout
> + exit ${?}
> +fi
More information about the buildroot
mailing list