mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
enable Perl's strict and warnings in make-release
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>
This commit is contained in:
parent
7f15a1bbb3
commit
cd0cac7e1a
@ -1,12 +1,14 @@
|
||||
#!/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 = ".";
|
||||
@ -64,6 +66,9 @@ system("git describe --abbrev=4 $tagName > $tempDir/$name/.version");
|
||||
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 : $!";
|
||||
|
Loading…
Reference in New Issue
Block a user