From: Richard W.M. Jones Date: Fri, 3 Jan 2020 19:07:11 +0000 (+0000) Subject: stdlib: Fix *file tactic. X-Git-Tag: v'0.2'~93 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3ed50d510dbab127125a8af9f72554c2dec72ef5;p=goals.git stdlib: Fix *file tactic. Broken test if there is more than one dependency. --- 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 }