Skip to content

Commit

Permalink
Fixed OPL-update to symlink applets to web accessible directory
Browse files Browse the repository at this point in the history
  • Loading branch information
aubreyja committed Jan 11, 2013
1 parent 0010fb8 commit 4d6aad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/OPL-update
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,10 @@ sub pgfiles {
my ($edition, $textauthor, $textsection, $textproblem, $tagged);
%textinfo=();
my @textproblems = (-1);
if ($name =~ /swf$/ {
my $applet_file = basename($name);
symlink($name,"$webworkDirs{htdocs}/applets/$applet_file");
}
if ($name =~ /pg$/) {
$pgfile = basename($name);
$pgpath = dirname($name);
Expand Down

0 comments on commit 4d6aad6

Please sign in to comment.