at 24.11-pre 14 lines 531 B view raw
1if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi 2source $stdenv/setup 3 4echo "exporting $url (r$rev) into $out" 5 6if test "$sshSupport"; then 7 export SVN_SSH="$openssh/bin/ssh" 8fi 9 10# Pipe the "p" character into Subversion to force it to accept the 11# server's certificate. This is perfectly safe: we don't care 12# whether the server is being spoofed --- only the cryptographic 13# hash of the output matters. 14expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out