From 3ed50d510dbab127125a8af9f72554c2dec72ef5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 3 Jan 2020 19:07:11 +0000 Subject: [PATCH] stdlib: Fix *file tactic. Broken test if there is more than one dependency. --- stdlib/prelude.gl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/prelude.gl b/stdlib/prelude.gl index 70c664c..5b8818a 100644 --- a/stdlib/prelude.gl +++ b/stdlib/prelude.gl @@ -27,7 +27,7 @@ tactic *file (filename) = { # Otherwise rebuild if it is older than any dependency. for f in %<; do - test %filename -ot "$f" && exit 99 || exit 0 + test %filename -ot "$f" && exit 99 ||: done } -- 1.8.3.1