4 use String::ShellQuote;
9 ( my $prefix = $dir ) =~ s(^/home/$USER/freeside/?)() or die $dir; #eventually from anywhere
13 "( for file in @ARGV; do ",
14 "cp -i \$file /home/$USER/freeside2.3/$prefix/`dirname \$file`;",
15 "cp -i \$file /home/$USER/freeside2.1/$prefix/`dirname \$file`;",
17 "cd /home/$USER/freeside2.3/$prefix/ && ",
19 "cd /home/$USER/freeside2.1/$prefix/ && ",