提交 34fa8c76 编写于 作者: A Andreia Gaita

Fix copying of files, rsync is more reliable (and preserves attributes)

上级 09ec3632
......@@ -112,7 +112,7 @@ chdir ($root);
$File::Copy::Recursive::CopyLink = 0; #make sure we copy files as files and not as symlinks, as TC unfortunately doesn't pick up symlinks.
mkpath("$libmono/2.0");
dircopy("$monoprefix/lib/mono/2.0","$libmono/2.0");
system("rsync -aPL $monoprefix/lib/mono/2.0 $libmono/.");
# system("rm $libmono/2.0/*.mdb");
mkpath("$libmono/micro");
system("cp $root/mcs/class/lib/monotouch/mscorlib.dll $libmono/micro") eq 0 or die("Failed to copy micro corlib");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册