mirror of
https://github.com/golang/go
synced 2024-11-23 14:40:02 -07:00
bootstrap.bash: preserve file times when copying
Preserve file modification times when copying bootstrap tree, this makes generated bootstrap more friendly to rsyncing. Change-Id: I32cde58c25b48d3c00d4413860dbd49a265b0ff2 Reviewed-on: https://go-review.googlesource.com/c/go/+/174217 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
2b325f8d52
commit
930d6ecb69
@ -45,7 +45,7 @@ fi
|
||||
unset GOROOT
|
||||
src=$(cd .. && pwd)
|
||||
echo "#### Copying to $targ"
|
||||
cp -R "$src" "$targ"
|
||||
cp -Rp "$src" "$targ"
|
||||
cd "$targ"
|
||||
echo
|
||||
echo "#### Cleaning $targ"
|
||||
|
Loading…
Reference in New Issue
Block a user