Fix check for .buildEpoch location

This commit is contained in:
Kris Moore
2021-03-12 16:40:57 -05:00
parent 67c769c032
commit b876ad689f

View File

@@ -1054,7 +1054,7 @@ check_epoch() {
local epoch=$(${YQ} e ".build-epoch" $MANIFEST)
if [ -e "tmp/.buildEpoch" ] ; then
if [ "$(cat .buildEpoch)" != "$epoch" ] ; then
if [ "$(cat tmp/.buildEpoch)" != "$epoch" ] ; then
echo "Build epoch changed! Removing temporary files and forcing clean build."
cleanup
mkdir tmp/