(zilch vfs): fix importing executable files
This commit is contained in:
parent
40d213520a
commit
994d50c732
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@
|
|||
(begin
|
||||
(iter-dir (if (string=? dirpath "") name (string-append dirpath "/" name)))
|
||||
(set! out (mapping-set! out (cons dirpath name) 'directory)))
|
||||
(set! out (mapping-set! out (cons dirpath name) (zfile (zexp ,(call-with-input-file (string-append reldir "/" name) read-full-file))))))))
|
||||
(set! out (mapping-set! out (cons dirpath name) (zfile (zexp ,(call-with-input-file (string-append reldir "/" name) read-full-file)) (file-executable? (string-append reldir "/" name))))))))
|
||||
contents))
|
||||
(iter-dir "")
|
||||
(make-vfs out))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue