~ chicken-core (chicken-5) beb37f796a18922a72dca6bfc237ab58aeda5790
commit beb37f796a18922a72dca6bfc237ab58aeda5790
Author: Evan Hanson <evhan@foldling.org>
AuthorDate: Mon Aug 21 18:11:02 2017 +1200
Commit: Evan Hanson <evhan@foldling.org>
CommitDate: Mon Aug 21 18:11:02 2017 +1200
Update makedist.scm and setversion to use string module
diff --git a/scripts/makedist.scm b/scripts/makedist.scm
index 3ae9e899..6f75e2e1 100644
--- a/scripts/makedist.scm
+++ b/scripts/makedist.scm
@@ -1,13 +1,14 @@
;;;; makedist.scm - Make distribution tarballs
-(use data-structures irregex posix
- (chicken file)
- (chicken format)
- (chicken io)
- (chicken pathname)
- (chicken platform)
- (chicken process))
+(import (chicken data-structures)
+ (chicken file)
+ (chicken format)
+ (chicken io)
+ (chicken irregex)
+ (chicken pathname)
+ (chicken process)
+ (chicken string))
(include "mini-srfi-1.scm")
diff --git a/scripts/setversion b/scripts/setversion
index 97bb49e8..f4846b3c 100755
--- a/scripts/setversion
+++ b/scripts/setversion
@@ -3,7 +3,7 @@
exec csi -s "$0" "$@"
|#
-(use data-structures file format io irregex (chicken process))
+(use file format io irregex (chicken process) (chicken string))
(define buildversion (with-input-from-file "buildversion" read-line))
Trap