Skip to content

Commit b2770e4

Browse files
committed
Allow full Clojure usage from within standard bedlam scripts.
1 parent 015a196 commit b2770e4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

bin/bedlam-script

+2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
SCHEMEENV=`basename $0`
66
SOURCEFILE=$1
77

8+
. /base/bedlam/schejure/dtclasspath
9+
810
/base/bedlam/sisc/sisc-1.16.6/sisc -x -e "(begin (define iasylum-bedlam-location \"/base/bedlam/\") (load (string-append iasylum-bedlam-location \"iasylum/init.scm\")))(srfi-22-prepare '$SCHEMEENV \"$SOURCEFILE\")" -c main-hook -- "$@"
911

s

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2+
. /base/bedlam/schejure/dtclasspath
23
/base/bedlam/sisc/sisc-1.16.6/sisc -e ' (begin (define iasylum-bedlam-location "/base/bedlam/") (load (string-append iasylum-bedlam-location "iasylum/init.scm")) "bedlam-enabled sisc started.")' "$@"

0 commit comments

Comments
 (0)