From 4d6aad603921565740f84b0c805e0ffef3078b28 Mon Sep 17 00:00:00 2001 From: Jason Aubrey Date: Fri, 11 Jan 2013 12:23:57 -0800 Subject: [PATCH] Fixed OPL-update to symlink applets to web accessible directory --- bin/OPL-update | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/OPL-update b/bin/OPL-update index ea022d4d9a..6b075d409e 100755 --- a/bin/OPL-update +++ b/bin/OPL-update @@ -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);