mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
fix perl header
This commit is contained in:
parent
759c56e1fe
commit
f0527d9258
@ -1,11 +1,12 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
require 5.008_001;
|
||||
BEGIN { $^W = 1; }
|
||||
use warnings;
|
||||
use strict;
|
||||
use File::Basename;
|
||||
|
||||
my $whoami = ($0 =~ m,([^/\\]*)$,) ? $1 : $0;
|
||||
my $dirname = ($0 =~ m,(.*)[/\\][^/\\]+$,) ? $1 : ".";
|
||||
my $whoami = basename($0);
|
||||
my $dirname = dirname($0);
|
||||
|
||||
if ((@ARGV == 1) && ($ARGV[0] eq '--version'))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user