aboutsummaryrefslogtreecommitdiff
path: root/genenetwork-development.scm
diff options
context:
space:
mode:
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r--genenetwork-development.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 3fcb1de..d971a8c 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -911,7 +911,8 @@ described by CONFIG, a <genenetwork-configuration> object."
#$connection-settings "--output" build-directory)
;; First clear all the files in our virtuoso directory
(for-each (lambda (file)
- (delete-file file))
+ (unless (string-suffix? "build" (dirname file))
+ (delete-file file)))
(find-files #$virtuoso-data-dir ".ttl"))
;; Move data into the container's virtuoso data directory
(copy-recursively build-directory #$virtuoso-data-dir)