diff --git a/sbin/generateContent.pl b/sbin/generateContent.pl index ee51b29ca..69c9f70fe 100755 --- a/sbin/generateContent.pl +++ b/sbin/generateContent.pl @@ -53,7 +53,7 @@ else { if (defined $asset) { my $file; if ($toFile) { - open $file '>', $toFile or die "Can't open file $toFile for writing. $!"; + open $file, '>', $toFile or die "Can't open file $toFile for writing. $!"; $session->output->setHandle($file); } my $content = $asset->www_view; diff --git a/t/lib/WebGUI/Test.pm b/t/lib/WebGUI/Test.pm index 4256bbda6..a73e698b4 100644 --- a/t/lib/WebGUI/Test.pm +++ b/t/lib/WebGUI/Test.pm @@ -43,7 +43,7 @@ use WebGUI::Paths -inc; our $WEBGUI_TEST_ROOT = File::Spec->catdir( File::Spec->catpath((File::Spec->splitpath(__FILE__))[0,1], ''), - (File::Spec->updir) x 2, 'supporting_collateral' + (File::Spec->updir) x 2 ); our $WEBGUI_TEST_COLLATERAL = File::Spec->catdir( $WEBGUI_TEST_ROOT,