1. Peter Bex
  2. henrietta-cache

Commits

Peter Bex  committed e2794ec

Use move-file from setup-api instead of rename-file, since the latter just relinks the file which doesn't work across filesystems

  • Participants
  • Parent commits 7f7bc73
  • Branches default

Comments (0)

Files changed (1)

File henrietta-cache.scm

View file
-(use utils posix http-client matchable uri-common srfi-1)
+(use utils posix setup-api http-client matchable uri-common srfi-1)
 
 (define (usage code)
   (print #<#EOF
               (contents-dir (if (= 1 (length contents))
                                 (make-pathname tmpdir (car contents))
                                 tmpdir)))
-         (rename-file contents-dir cache-dir)
+         (move-file contents-dir cache-dir)
          (system (sprintf "rm -rf ~A" (qs tmpdir))))))
     ((meta-file)
      (condition-case