aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml/fix-check-parser-uptodate-or-warn.sh.patch
blob: f78aaf0c2382ae958ca5f6d02de23324f5622fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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