Skip to content

Commit

Permalink
[docker] Restore mtime of .git* files (#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.
  • Loading branch information
WonyoungChoi authored and swift-kim committed Aug 5, 2022
1 parent 808bf12 commit 094f733
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
Expand Up @@ -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

Expand Down

0 comments on commit 094f733

Please sign in to comment.