Displaying 1 result from an estimated 1 matches for "unlink_junk_files".
2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
...on.
Michael
Index: src/scripts/build.in
===================================================================
--- src/scripts/build.in (revision 43045)
+++ src/scripts/build.in (working copy)
@@ -171,6 +171,24 @@
$log->message("removing junk files");
find(\&unlink_junk_files, $pkgdir);
+ chdir(dirname($pkgdir));
+ my $filename = "${intname}_" . $description->{"Version"} . ".tar";
+ my $filepath = &file_path($startdir, $filename);
+ R_system(join(" ",
+ ("$tar chf",
+...