
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: GOSH=$1 9: 10: $GOSH -ftest -uslib \ 11: -E'with-module slib (define (implementation-vicinity) "./")' \ 12: -E"require 'new-catalog" \ 13: -Eexit 14: