From 150d973265ed802f102698519229cf115f98b646 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Wed, 26 May 2010 12:13:01 -0700 Subject: [PATCH] Improve check_dist --- bin/check_dist | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/check_dist b/bin/check_dist index 865ab21..15f1121 100755 --- a/bin/check_dist +++ b/bin/check_dist @@ -1,5 +1,6 @@ -#!/usr/bin/perl5.10 -w +#!/usr/bin/perl -w use strict; +use warnings; $|++; my @dists = shift || glob("*.tar.gz"); @@ -12,7 +13,7 @@ for my $dist ( @dists ){ system qq{ DEBUG=1 tar zxpf ${dist}.tar.gz && \ - cd $dist && perl5.10 Build.PL && \ + cd $dist && perl Build.PL && \ ./Build --verbose 1 test && echo ALL TESTS PASS }; print $@ if $@;