aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/li2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/li b/bin/li
index e62060b..8636a07 100755
--- a/bin/li
+++ b/bin/li
@@ -89,7 +89,7 @@ if [ ! -e "$IMAGE" ]; then
-e '(ql:quickload :trivial-dump-core)' \
-e "(trivial-dump-core:dump-image \"$IMAGE\")" \
-e '(uiop:quit)'
-elif [ "$0" -nt "$IMAGE" ] || [ "$BIN" -nt "$IMAGE" ] || [ "$INIT" -nt "$IMAGE" ]; then
+elif [ -n "$(find "$0" "$BIN" "$INIT" -newer "$IMAGE")" ]; then
printf 'Refresh existing "%s" image...\n' "$IMPL" >&2
cl \
-M "$IMAGE" \