blob: 85bbb5d81dacc894e0fde842d4625a731e1b9625 [file] [log] [blame]
--- Configure.pl 2014-01-09 16:48:13.989620752 +0800
+++ Configure.pl.new 2014-01-09 16:49:41.217885279 +0800
@@ -94,11 +94,7 @@
$VERSION = <$fh>;
close($fh);
}
-# .git is a file and not a directory in submodule
-if (-e '.git' && open(my $GIT, '-|', "git describe --tags")) {
- $VERSION = <$GIT>;
- close($GIT);
-}
+
chomp $VERSION;
$config{version} = $VERSION;
$config{versionmajor} = $VERSION =~ /^(\d+)/ ? $1 : 0;