search for: shell_quote_file_path

Displaying 2 results from an estimated 2 matches for "shell_quote_file_path".

2007 Oct 02
0
patch: allow R CMD build exclude patterns to match symlinks
...+ chdir(dirname($pkgdir)); + my $filename = "${intname}_" . $description->{"Version"} . ".tar"; + my $filepath = &file_path($startdir, $filename); + R_system(join(" ", + ("$tar chf", + &shell_quote_file_path($filepath), + "$pkgname"))); + my $tmpdir = R_tempfile("Rbuild"); + rmtree($tmpdir) if(-d $tmpdir); + mkdir("$tmpdir", 0755) + or die "Error: cannot create directory '$tmpdir'\n"; + chdir($tmpdir); + ## was xhf, b...
2007 Jun 29
1
R CMD build with mingw and msys (PR#9766)
...gwin tar - $filepath =~ s+^([A-Za-z]):+/cygdrive/\1+; + if($WINDOWS) { + ## workaround for paths in Cygwin tar + $filepath =~ s+^([A-Za-z]):+/cygdrive/\1+; } - R_system(join(" ", ("$tar chf", &shell_quote_file_path($filepath),