diff options
| author | EuAndreh <eu@euandre.org> | 2022-10-25 01:04:05 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-10-25 01:04:05 -0300 |
| commit | 9ef0ba6009746c1370fc469ecef704044e46a6df (patch) | |
| tree | cc95be5cf5cb819b79ea8eb9e439381b0bf81fdf | |
| parent | etc/guix/home.scm: Name "broken" the incompatible packages (diff) | |
| download | dotfiles-9ef0ba6009746c1370fc469ecef704044e46a6df.tar.gz dotfiles-9ef0ba6009746c1370fc469ecef704044e46a6df.tar.xz | |
bin/li: Use "$(find $a -newer $b)" over [ $a -nt $b ]
| -rwxr-xr-x | bin/li | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" \ |
