Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use system() safely
  • Loading branch information
zoffixznet committed Nov 7, 2015
1 parent 31d6c3d commit 9a1ed6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/build-project-list.pl
Expand Up @@ -38,8 +38,8 @@
if $failed > $success;

unless ($output_dir eq './') {
system("cp fame-and-profit.html $output_dir");
system("cp -r assets $output_dir");
system qw/cp fame-and-profit.html/, $output_dir;
system qw/cp -r assets /, $output_dir;
}

$p6p->write_json('proto.json');
Expand Down

0 comments on commit 9a1ed6e

Please sign in to comment.