changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/sbcl-save-core.sh

changeset 315: 0f82807e8b6e
parent: c87410230a12
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 07 Jul 2024 18:09:47 -0400
permissions: -rwxr-xr-x
description: edit dist scripts to support busybox tar
1 #!/bin/sh
2 # save an sbcl core image
3 CORE_SRC=${3:-/usr/local/src/core/}
4 FORM="(progn (pushnew #P\"$CORE_SRC\" asdf:*central-registry*) (pushnew #P\"$CORE_SRC\" ql:*local-project-directories*) (ql:quickload :std) ${2} (save-lisp-and-die \"${1:-std.core}\"))"
5 sbcl --noinform --non-interactive --eval "$FORM"