1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/ocaml/fix-check-parser-uptodate-or-warn.sh.patch

14 lines
480 B
Diff

--- a/tools/check-parser-uptodate-or-warn.sh 2019-06-14 08:21:51.000000000 -0300
+++ b/tools/check-parser-uptodate-or-warn.sh 2019-07-16 14:56:27.352376332 -0300
@@ -43,8 +43,8 @@
}
# The check itself
-SOURCE_MTIME=$(mtime parsing/parser.mly)
-GENERATED_MTIME=$(mtime boot/menhir/parser.ml)
+SOURCE_MTIME=$(mtime "$builddir"/parsing/parser.mly)
+GENERATED_MTIME=$(mtime "$builddir"/boot/menhir/parser.ml)
if test $SOURCE_MTIME -gt $(( $GENERATED_MTIME + 10 ))
then
echo