From af8adc55e77aa2f2dccee758e0893a9925b3fa3b Mon Sep 17 00:00:00 2001 From: Len Kranendonk Date: Wed, 19 Nov 2003 19:22:13 +0000 Subject: [PATCH] fixed typos --- docs/changelog/5.x.x.txt | 1 + sbin/collateralImport.pl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index 8f318efd9..9917cfdff 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -11,6 +11,7 @@ - Fixed a bug in the forum where new replies defaulted to always subscribing the user to the thread. - Bugfix [ 822324 ]: From field not working in DataForm when mailing to group + - Fixed typos in importCollateral.pl 5.5.1 diff --git a/sbin/collateralImport.pl b/sbin/collateralImport.pl index 44f8b640d..722bcd699 100644 --- a/sbin/collateralImport.pl +++ b/sbin/collateralImport.pl @@ -42,7 +42,7 @@ GetOptions( 'configFile=s'=>\$configFile, 'folderId=i'=>\$folderId, 'help'=>\$help, - 'override'=>$override, + 'override'=>\$override, 'pathToFiles=s'=>\$pathToFiles, 'quiet'=>\$quiet, 'thumbnailSize=i'=>\$thumbnailSize, @@ -152,7 +152,7 @@ sub addFiles { #----------------------------------------- sub setPrivileges { print "Setting filesystem privileges.\n" unless ($quiet); - if ($session{os}{type} = "Linuxish") { + if ($session{os}{type} eq "Linuxish") { unless (system("chown -R ".$webUser." ".$session{config}{uploadsPath})) { print "Privileges set.\n" unless ($quiet); } else {