aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-02 22:45:40 -0300
committerEuAndreh <eu@euandre.org>2022-11-02 22:45:40 -0300
commitb6406b4396a6aedff4e66e5a3663b6013550fdcc (patch)
tree0628d11ea7e5d3ac1afdf48402835a4dfe5eabb7
parentetc/guix/system.scm: Add group "docker" to allow non-sudo usage of it (diff)
downloaddotfiles-b6406b4396a6aedff4e66e5a3663b6013550fdcc.tar.gz
dotfiles-b6406b4396a6aedff4e66e5a3663b6013550fdcc.tar.xz
bin/li: Use -E and remove extra -e "(uiop:quit)"
-rwxr-xr-xbin/li20
1 files changed, 9 insertions, 11 deletions
diff --git a/bin/li b/bin/li
index 7292db0..f92f487 100755
--- a/bin/li
+++ b/bin/li
@@ -84,20 +84,18 @@ INIT="${XDG_CONFIG_HOME:-$HOME/.config}/lisp-cli/init.lisp"
if [ ! -e "$IMAGE" ]; then
printf 'Bootstrapping a new "%s" image...\n' "$IMPL" >&2
cl \
- -I "$IMPL" \
- -v \
- -e '(ql:quickload :trivial-dump-core)' \
- -e "(trivial-dump-core:dump-image \"$IMAGE\")" \
- -e '(uiop:quit)'
+ -I "$IMPL" \
+ -v \
+ -e '(ql:quickload :trivial-dump-core)' \
+ -E "(trivial-dump-core:dump-image \"$IMAGE\")"
elif [ -n "$(find "$0" "$BIN" "$INIT" -newer "$IMAGE")" ]; then
printf 'Refresh existing "%s" image...\n' "$IMPL" >&2
cl \
- -M "$IMAGE" \
- -I "$IMPL" \
- -v \
- -e '(ql:quickload :trivial-dump-core)' \
- -e "(trivial-dump-core:dump-image \"$IMAGE\")" \
- -e '(uiop:quit)'
+ -M "$IMAGE" \
+ -I "$IMPL" \
+ -v \
+ -e '(ql:quickload :trivial-dump-core)' \
+ -E "(trivial-dump-core:dump-image \"$IMAGE\")"
fi
if [ "$VERBOSE" = true ]; then