changeset 657:a56fa2df4d82

Add MANIFEST file to mini-native-$ARCH/usr/src.
author Rob Landley <rob@landley.net>
date Fri, 27 Mar 2009 05:33:49 -0500
parents 98369d03cf6f
children dc5512d734f0
files download.sh host-tools.sh
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/download.sh	Thu Mar 26 18:32:55 2009 -0500
+++ b/download.sh	Fri Mar 27 05:33:49 2009 -0500
@@ -126,5 +126,13 @@
 
 cleanup_oldfiles
 
+# Create a MANIFEST file listing package versions.
+
+# This can optionally call source control systems (hg and svn) to get version
+# information for the FWL build scripts and any USE_UNSTABLE packages, so
+# use $OLDPATH.  (Most likely we haven't run host-tools.sh yet, but just
+
+PATH="$OLDPATH" do_readme | tee "$SRCDIR"/MANIFEST
+
 # Set color back to normal.
 echo -e "\e[0m"
--- a/host-tools.sh	Thu Mar 26 18:32:55 2009 -0500
+++ b/host-tools.sh	Fri Mar 27 05:33:49 2009 -0500
@@ -33,7 +33,7 @@
     # Loop through each $PATH element and create a symlink to the wrapper with
     # that name.
 
-    for i in $(echo $PATH | sed 's/:/ /g')
+    for i in $(echo "$PATH" | sed 's/:/ /g')
     do
       for j in $(ls $i)
       do