<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2010-11-03 at 14:47 +0100, Simon Braunschmidt wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Instead of Trevor Woerners proposal to automagically clone missing
components,

</PRE>
</BLOCKQUOTE>
I originally made the suggestion, but you convinced me.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<A HREF="http://lists.x.org/archives/xorg-devel/2010-November/014883.html">http://lists.x.org/archives/xorg-devel/2010-November/014883.html</A>

I would rather want to inform the user more verbosely
about missing components and how to obtain them.

This could avoid situations where the user calls the build.sh script
from the wrong location, and build.sh subsequently littering the users
machine with unwanted git repositories in the wrong place.
</PRE>
</BLOCKQUOTE>
Good point.
<BLOCKQUOTE TYPE=CITE>
<PRE>

One such situation would be calling &quot;somedir/build.sh L&quot; instead of
&quot;somedir/build.sh -L&quot;, starting a build in the current directory
for PREFIX &quot;L&quot; instead of listing the missing components (with the
users intention having been to just list the components in build order).

Signed-off-by: Simon Braunschmidt &lt;<A HREF="mailto:sbraun@emlix.com">sbraun@emlix.com</A>&gt;
---
 build.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/build.sh b/build.sh
index 207ff2b..0afbe50 100755
--- a/build.sh
+++ b/build.sh
@@ -1155,9 +1155,14 @@ date
 if [ X&quot;$nonexistent_components&quot; != X ]; then
     echo &quot;&quot;
     echo &quot;***** Skipped components (not available) *****&quot;
+        echo &quot;Could neighter find a git repository (at the &lt;module/component&gt; paths)&quot;
+        echo &quot;or a tarball (at the &lt;module/&gt; paths or ./) for:&quot;
+        echo &quot;    &lt;module/component&gt;&quot;
     for mod in $nonexistent_components; do
         echo &quot;    $mod&quot;
     done
+    echo &quot;You may want to provide the --clone option to build.sh&quot;
+    echo &quot;to automatically git-clone the missing components&quot;
     echo &quot;&quot;
 fi
 
</PRE>
</BLOCKQUOTE>
<BR>
Acked-by: <TT><FONT COLOR="#1a1a1a">Gaetan Nadon &lt;<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>&gt;</FONT></TT>
</BODY>
</HTML>