We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf32f8 commit efda076Copy full SHA for efda076
ci-build.sh
@@ -82,15 +82,17 @@ fi
82
83
84
# restore source file mtimes based on content hashes
85
-for DIR in src lib
86
-do
87
- if [ -e mtimes-${DIR}.json ]
88
- then
89
- mtime-travel restore -f mtimes-src.json ${SRC_DIR}/${DIR}
90
- fi
91
- rm -f mtimes-${DIR}.json
92
- mtime-travel save -f mtimes-${DIR}.json ${SRC_DIR}/${DIR}
93
-done
+if which mtime-travel >/dev/null 2>&1; then
+ for DIR in src lib
+ do
+ if [ -e mtimes-${DIR}.json ]
+ then
+ mtime-travel restore -f mtimes-${DIR}.json ${SRC_DIR}/${DIR}
+ fi
+ rm -f mtimes-${DIR}.json
+ mtime-travel save -f mtimes-${DIR}.json ${SRC_DIR}/${DIR}
94
+ done
95
+fi
96
97
# Try to ensure we're using the real g++ and clang++ versions we want
98
mkdir -p bin
0 commit comments