me
/
guix
Archived
1
0
Fork 0

guix: Fix download-svn-to-store.

* guix/svn-download.scm (download-svn-to-store): Add a subdirectory to
the download path.  The subdirectory is used as the target for the 'svn
export' command, avoiding a 'directory exists' error when attempting to
use the parent directory directly.
master
Paul Garlick 2020-09-14 14:01:15 +01:00
parent bc5dcd9ef5
commit 735808b12c
No known key found for this signature in database
GPG Key ID: AAC7E891896B568A
1 changed files with 3 additions and 2 deletions

View File

@ -159,10 +159,11 @@ reports to LOG."
(parameterize ((current-output-port log))
(build:svn-fetch (svn-reference-url ref)
(svn-reference-revision ref)
temp
(string-append temp "/svn")
#:user-name (svn-reference-user-name ref)
#:password (svn-reference-password ref)))))
(and result
(add-to-store store name #t "sha256" temp))))))
(add-to-store store name #t "sha256"
(string-append temp "/svn")))))))
;;; svn-download.scm ends here