Skip to content

Commit

Permalink
OPL-update now symlinks swf applets in the OPL to webwork2/htdocs/app…
Browse files Browse the repository at this point in the history
…lets so they can be used in problems easily
  • Loading branch information
aubreyja committed Jan 11, 2013
1 parent 4d6aad6 commit 64af8b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/OPL-update
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ sub pgfiles {
my ($edition, $textauthor, $textsection, $textproblem, $tagged);
%textinfo=();
my @textproblems = (-1);
if ($name =~ /swf$/ {
if ($name =~ /swf$/) {
my $applet_file = basename($name);
symlink($name,"$webworkDirs{htdocs}/applets/$applet_file");
symlink($name,$ce->{webworkDirs}->{htdocs}."/applets/".$applet_file);
}
if ($name =~ /pg$/) {
$pgfile = basename($name);
Expand Down

0 comments on commit 64af8b9

Please sign in to comment.