From: Peter Rabbitson Date: Wed, 10 Jun 2015 01:59:55 +0000 (+0200) Subject: (travis) Improve the "Did it really install?" check X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c657cb2de22d57b304d5965cd99ccbd8a59441a;p=dbsrgits%2FDBIx-Class.git (travis) Improve the "Did it really install?" check --- diff --git a/maint/travis-ci_scripts/common.bash b/maint/travis-ci_scripts/common.bash index f890965..1f4df78 100755 --- a/maint/travis-ci_scripts/common.bash +++ b/maint/travis-ci_scripts/common.bash @@ -199,8 +199,11 @@ _dep_inst_with_test() { for m in "$@"; do if ! perl -e ' +$ARGV[0] =~ s/-TRIAL\.//; + my $mod = ( - $ARGV[0] =~ m{ \/ .*? ([^\/]+) $ }x + # abuse backtrack + $ARGV[0] =~ m{ / .*? ( [^/]+ ) $ }x ? do { my @p = split (/\-/, $1); pop @p; join "::", @p } : $ARGV[0] );