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

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