From a45ef09bdb155b6fa3ad6c21e4267c41b4de5035 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Tue, 4 Oct 2005 13:39:37 +0000 Subject: [PATCH] The commander-s executable is now an image --- install.scm | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/install.scm b/install.scm index 6365bab..eb370a3 100755 --- a/install.scm +++ b/install.scm @@ -6,22 +6,34 @@ exec scsh -lel install-lib/load.scm -dm -o install-commander-s -e install-progra (open scheme-with-scsh install-lib) (begin - (define commander-s-template #< "commander-s")) + + (set-file-mode "commander-s" #o755) + + (delete-file "commander-s.header") + + (delete-file "commander-s.image")) END -) - -(define-program "commander-s" (0 1) ((install-lib-version (1 1))) - (install-directory-contents "scheme" 'scheme) - (install-string (format #f commander-s-template - (get-directory 'scheme #f) (get-directory 'scheme #f)) - "commander-s" - 'bin - "." - #o555)))) +)) + + (define-program "commander-s" (0 1) ((install-lib-version (1 2))) + (install-directory-contents "scheme" 'scheme) + (install-file "commander-s" 'bin))))