Merge pull request #112421 from sternenseemann/fetchcvs-fix-missing-env

fetchcvs: fix ssh wrapper failing due to missing /usr/bin/env
This commit is contained in:
Matthew Bauer 2021-02-08 16:05:22 -06:00 committed by GitHub
commit 91fe7257d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
source $stdenv/setup
(echo '#!/usr/bin/env sh'; \
(echo "#!$SHELL"; \
echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
chmod +x ssh
export CVS_RSH=$PWD/ssh