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))))