X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configpm;h=1825b0df9cc9d1b08a26be82c5f05e3f85656474;hb=7a71a5145432d34189dc8574df73a361bd48e4ee;hp=af6f65a0c8b9bef3ba6cd81d88d10f3a00dd28b1;hpb=46807d8e809cc127621bf85d9e9cea2f838eb477;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configpm b/configpm index af6f65a..1825b0d 100755 --- a/configpm +++ b/configpm @@ -548,8 +548,12 @@ foreach my $prefix (qw(libs libswanted)) { $heavy_txt .= "EOVIRTUAL\n"; $heavy_txt .= <<'ENDOFGIT'; -require 'Config_git.pl'; -$Config_SH_expanded .= $Config::Git_Data; +eval { + # do not have hairy conniptions if this isnt available + require 'Config_git.pl'; + $Config_SH_expanded .= $Config::Git_Data; + 1; +} or warn "Warning: failed to load Config_git.pl, something strange about this perl...\n"; ENDOFGIT $heavy_txt .= $fetch_string;