Skip to content

Commit a08d62d

Browse files
WonyoungChoiswift-kim
authored andcommitted
[docker] Restore mtime of .git* files (#186)
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.
1 parent a8fc650 commit a08d62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/docker/tizen/tools/cache-checksum.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ "$COMMAND" == "restore" ]]; then
4040
fi
4141

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

0 commit comments

Comments
 (0)