diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-04-08 14:51:50 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-04-08 14:54:59 +0300 |
commit | 140dfbf9634e9031246cfc84486b3dd1e876029a (patch) | |
tree | 69541f754db467600085abeec668fa1de5b6870e | |
parent | b39389f1a8b2344bbe80eba028c0101b72eceec1 (diff) | |
download | dnstools-140dfbf9634e9031246cfc84486b3dd1e876029a.tar.gz dnstools-140dfbf9634e9031246cfc84486b3dd1e876029a.tar.bz2 |
Minor fix
* bootstrap.pl (find_subdirs): Reset $line
-rw-r--r-- | bootstrap.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap.pl b/bootstrap.pl index 6625365..b9dc20f 100644 --- a/bootstrap.pl +++ b/bootstrap.pl @@ -38,6 +38,7 @@ sub find_subdirs { @ret = split /\s+/, $1; last; } + $line = ""; } } close($fd); @@ -49,7 +50,7 @@ my $incdir = "inc/ExtUtils"; my $topdir = getcwd; my @subdirs = find_subdirs(); -die "No SUBDIRS found in the Makefile; make sure you run this script from the project's top-level directory\n" if ($#subdirs == -1); +die "No SUBDIRS found in the Makefile; make sure you run this script from the project's top-level directory" if ($#subdirs == -1); my $modname = "ExtUtils::AutoInstall"; |