<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 2:51 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 7 Mar 2018, Kong, Fande wrote:<br>
<br>
</span><span class="">> > If you need to workarround this - you can comment out that test (3lines)..<br>
> ><br>
> > File "/home/kongf/workhome/<wbr>projects/petsc-3.7.7/config/<br>
> > BuildSystem/config/package.py"<wbr>, line 519, in updateGitDir<br>
> > gitdir,err,ret = config.base.Configure.<wbr>executeShellCommand([self.<wbr>sourceControl.git,<br>
> > 'rev-parse','--git-dir'], cwd=self.packageDir, log = self.log)<br>
> ><br>
> ><br>
><br>
> "#self.updateGitDir()" works.<br>
<br>
</span>I meant just the 3 lines - not the whole function.<br></blockquote><div><br></div><div>I knew this. "3 lines" does not work at all.<br><br></div><div>I forgot the error message.<br><br></div><div>Fande,<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
diff --git a/config/BuildSystem/config/<wbr>package.py b/config/BuildSystem/config/<wbr>package.py<br>
index 85663247ce..439b2105c5 100644<br>
--- a/config/BuildSystem/config/<wbr>package.py<br>
+++ b/config/BuildSystem/config/<wbr>package.py<br>
@@ -516,9 +516,9 @@ class Package(config.base.Configure)<wbr>:<br>
# verify that packageDir is actually a git clone<br>
if not os.path.isdir(os.path.join(<wbr>self.packageDir,'.git')):<br>
raise RuntimeError(self.packageDir +': is not a git repository! '+os.path.join(self.<wbr>packageDir,'.git')+' not found!')<br>
- gitdir,err,ret = config.base.Configure.<wbr>executeShellCommand([self.<wbr>sourceControl.git, 'rev-parse','--git-dir'], cwd=self.packageDir, log = self.log)<br>
- if gitdir != '.git':<br>
- raise RuntimeError(self.packageDir +': is not a git repository! "git rev-parse --gitdir" gives: '+gitdir)<br>
+ #gitdir,err,ret = config.base.Configure.<wbr>executeShellCommand([self.<wbr>sourceControl.git, 'rev-parse','--git-dir'], cwd=self.packageDir, log = self.log)<br>
+ #if gitdir != '.git':<br>
+ # raise RuntimeError(self.packageDir +': is not a git repository! "git rev-parse --gitdir" gives: '+gitdir)<br>
<br>
prefetch = 0<br>
if self.gitcommit.startswith('<wbr>origin/'):<br>
<br>
Satish<br>
</blockquote></div><br></div></div>