mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Fix check for .buildEpoch location
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user