Skip to content

Commit

Permalink
[docker] Restore mtime of .git* files (flutter#186)
Browse files Browse the repository at this point in the history
Restore mtime of .git* files to OLD TIME together because some ninja build uses the .git/logs/HEAD files to get the version information. This affects the incremental build.
WonyoungChoi authored and swift-kim committed Dec 9, 2021

Verified

This commit was signed with the committer’s verified signature.
swift-kim Swift Kim
1 parent f428149 commit 783fd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/docker/tizen/tools/cache-checksum.sh
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ if [[ "$COMMAND" == "restore" ]]; then
fi

# Set mtime of files in $TARGET_DIRS to OLD time.
for d in $(find $TARGET_DIRS -type d -not -path "*/.git*"); do
for d in $(find $TARGET_DIRS -type d); do
touch -c -m -d @1600000000 $d/* &
done

0 comments on commit 783fd78

Please sign in to comment.