Declare the undeclared variables $help, $man, and @toCompress, delete
the duplicate declaration for $last, and remove the unused $tag
variable.
Change-Id: I33de42722b84207dc1bbad50539dc5bf92da2f5e
Reviewed-on: http://gerrit.openafs.org/10117
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
#!/usr/bin/perl
+use warnings;
+use strict;
use Getopt::Long;
use Pod::Usage;
use File::Path;
use File::Temp;
-my $tag;
-my $last;
+my $help;
+my $man;
my $tagPoint;
my $last;
my $outDir = ".";
system ("cd $tempDir/$name && ./regen.sh") == 0
or die $!;
+# A list of files to compress
+my @toCompress;
+
# Create the documentation tarball
system("tar -cf $outDir/$name-doc.tar -C $tempDir $name/doc") == 0
or die "Unable to create documentation tarball : $!";