summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2009-01-04 19:12:53 +0100
committerYves Orton <demerphq@gmail.com>2009-01-04 23:32:40 +0100
commit12d7e04de30e7bc6b13a6f47e4ed1a1365267e6c (patch)
treec1bde96daa7551432e02fb1e1740609200bb31a6 /configpm
parente9be352a567fab443a8c229b10a5050c9cf2d4cf (diff)
downloadperl-12d7e04de30e7bc6b13a6f47e4ed1a1365267e6c.tar.gz
this seems to work, still not using the perl version, but this works the way it would
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm7
1 files changed, 5 insertions, 2 deletions
diff --git a/configpm b/configpm
index af6f65a0c8..17f02c575c 100755
--- a/configpm
+++ b/configpm
@@ -548,8 +548,11 @@ 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;
+};
ENDOFGIT
$heavy_txt .= $fetch_string;