#!/bin/sh exec scsh -lel install-lib/load.scm -dm -o install-commander-s -e install-program-main -s "$0" "$@" !# (define-structure install-commander-s (export install-program-main) (open scheme-with-scsh install-lib) (begin (run (scsh -lel afs/load.scm -lel pps/load.scm -lel module-system/load.scm -lel interaction/load.scm -lel cml/load.scm -lm scheme/debug-packages.scm -lel scsh-ncurses-1.0/load.scm -lm scheme/nuit-packages.scm -o nuit -e main -sfd 0) (<< #< "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 2))) (install-directory-contents "scheme" 'scheme) (install-file "commander-s" 'bin))))