Debian Codegraph @

lib/mklibcat

raw
1 #!/bin/sh
2 # Helper script to create "slibcat" before installing gosh.
3 # The caller must guarantee existence of slib.
4 # See "slibcat-in-place" target in the Makefile.
5 #
6 # Usage: mklibcat PATH-TO-GOSH
7
8 set -e
9
10 GOSH=$1
11
12 $GOSH -ftest -fno-warn-srfi-feature-id -uslib \
13 -E'with-module slib (define (implementation-vicinity) "./")' \
14 -E"require 'new-catalog" \
15 -Eexit