Commit 930d6ecb authored by Dmitri Goutnik's avatar Dmitri Goutnik Committed by Brad Fitzpatrick

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/+/174217Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 2b325f8d
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment