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
parent
bc5dcd9ef5
commit
735808b12c
|
@ -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
|
||||
|
|
Reference in New Issue