diff options
author | Munyoki Kilyungi | 2024-12-20 15:01:49 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2025-01-06 22:24:58 +0300 |
commit | 9d53f097a2cba26ab3f81060f3a133c69a17e186 (patch) | |
tree | 82078b18abc12567cc9d3606d54eaaa1252d322c /genenetwork-development.scm | |
parent | dff37f58de5bb07af51b9959bae1498be1287274 (diff) | |
download | gn-machines-9d53f097a2cba26ab3f81060f3a133c69a17e186.tar.gz |
Correctly delete virtuoso build directory.
* genenetwork-development.scm (transform-genenetwork-database-gexp): Only
delete virtuoso "build" directory.
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r-- | genenetwork-development.scm | 3 |
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) |