mirror of
https://github.com/curl/curl.git
synced 2026-06-07 17:44:14 +03:00
mk-file-embed.pl: enable strict/warnings, fix them
This commit is contained in:
parent
bc1e0cf561
commit
9bdd0db192
1 changed files with 4 additions and 1 deletions
|
|
@ -23,8 +23,11 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $varname = "var";
|
||||
if($ARGV[0] eq "--var") {
|
||||
if(@ARGV && $ARGV[0] eq "--var") {
|
||||
shift;
|
||||
$varname = shift @ARGV;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue