nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 23 lines 649 B view raw
1(echo "#!$SHELL"; \ 2 echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh 3chmod +x ssh 4export CVS_RSH=$PWD/ssh 5 6# creating the export drictory and checking out there only to be able to 7# move the content without the root directory into $out ... 8# cvs -f -d "$url" export $tag -d "$out" "$module" 9# should work (but didn't - got no response on #cvs) 10# See als man Page for those options 11 12mkdir -p export 13if [ -n "$tag" ]; then 14 tag="-r $tag" 15else 16 if [ -n "$date" ]; then 17 tag="-D $date" 18 else 19 tag="-D NOW" 20 fi 21fi 22(cd export && cvs -f -z0 -d "$cvsRoot" export $tag "$module") 23mv export/* $out