$NetBSD: patch-aa,v 1.1 2004/05/13 18:48:32 ben Exp $ --- tools/check-updates.pl.orig Tue May 11 01:55:38 2004 +++ tools/check-updates.pl @@ -258,10 +258,13 @@ sub printHelp # exists, and if it doesn't exist it tries to create it. sub checkTemporaryDirectory { + my $fix_temporaryDirectory = $temporaryDirectory; + $fix_temporaryDirectory =~ s/\/$//; + # If your temporary directory does not exist, you must create it. if (! -e $temporaryDirectory) { - mkdir($temporaryDirectory, $creationMask) || + mkdir($fix_temporaryDirectory, $creationMask) || die "Error: Unable to create directory: $temporaryDirectory\nError: $!\n\n" . "Exiting...\n"; return;