mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 06:09:18 +02:00
strip leading parents in package test
This commit is contained in:
parent
eab76ce8c1
commit
19df6e7578
1 changed files with 5 additions and 1 deletions
|
@ -592,7 +592,11 @@
|
||||||
data-files))
|
data-files))
|
||||||
(tar-files
|
(tar-files
|
||||||
(reverse
|
(reverse
|
||||||
(append (if test (list test)) docs tar-data-files files))))
|
(append (if test
|
||||||
|
`((rename ,test
|
||||||
|
,(path-strip-leading-parents test)))
|
||||||
|
'())
|
||||||
|
docs tar-data-files files))))
|
||||||
(cons `(package
|
(cons `(package
|
||||||
,@(reverse res)
|
,@(reverse res)
|
||||||
,@(if (pair? data-files) `((data-files ,@pkg-data-files)) '())
|
,@(if (pair? data-files) `((data-files ,@pkg-data-files)) '())
|
||||||
|
|
Loading…
Add table
Reference in a new issue