From 7b68f141c6b3ca6d4c88355b094a9a99229c97e5 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Mon, 3 Jul 2017 06:57:09 +0900 Subject: [PATCH] allow urls for snow docs --- lib/chibi/snow/commands.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/chibi/snow/commands.scm b/lib/chibi/snow/commands.scm index 974f51b4..7ada0229 100644 --- a/lib/chibi/snow/commands.scm +++ b/lib/chibi/snow/commands.scm @@ -604,7 +604,11 @@ `((rename ,test ,(path-strip-leading-parents test)))) (else '())) - docs tar-data-files files)))) + (remove (lambda (x) + (or (string-prefix? "http://" x) + (string-prefix? "https://" x))) + docs) + tar-data-files files)))) (cons `(package ,@(reverse res) ,@(if (pair? data-files) `((data-files ,@pkg-data-files)) '())