diff --git a/src/bootstrap.bash b/src/bootstrap.bash index 92a47182861..88c080a9487 100755 --- a/src/bootstrap.bash +++ b/src/bootstrap.bash @@ -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"