From 36626689e5f8969de0ec488588e42cc67ef4bccc Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Sat, 28 May 2011 07:22:53 +0200 Subject: [PATCH] bitrot on the usual tools --- Makefile.PL | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 503f6e3..495a585 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -18,9 +18,8 @@ if ($ARGV[0] && $ARGV[0] eq "--setversion") { unless (-f $makefile) { die "no Makefile and no Makefile.old found"; } - my $dirty = ! system "git status -a > /dev/null"; + my $dirty = ! system "git status --porcelain --untracked-files=no"; if ($dirty){ - system "git status -a"; die "Not everything checked in?"; } open my $fh, "make -f $makefile the-release-name|" or die "Could not fork: $!"; @@ -173,7 +172,7 @@ release :: disttest rm -rf $(DISTVNAME) sign: - cpansign -s + `dirname $(PERL)`/cpansign -s }; join "", @m; } -- 2.11.4.GIT