<!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 "somedir/build.sh L" instead of
"somedir/build.sh -L", starting a build in the current directory
for PREFIX "L" 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 <<A HREF="mailto:sbraun@emlix.com">sbraun@emlix.com</A>>
---
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"$nonexistent_components" != X ]; then
echo ""
echo "***** Skipped components (not available) *****"
+        echo "Could neighter find a git repository (at the <module/component> paths)"
+        echo "or a tarball (at the <module/> paths or ./) for:"
+        echo " <module/component>"
for mod in $nonexistent_components; do
        echo " $mod"
done
+ echo "You may want to provide the --clone option to build.sh"
+ echo "to automatically git-clone the missing components"
echo ""
fi
</PRE>
</BLOCKQUOTE>
<BR>
Acked-by: <TT><FONT COLOR="#1a1a1a">Gaetan Nadon <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>></FONT></TT>
</BODY>
</HTML>