changeset 876:563c1abb06d0 0.9.8

The export command won't allow environment variable names to have dashes in them, and ccwrap.c already converts - into _ when checking ${ARCH}_WRAPPER_TOPDIR. But apparently I didn't remember to do that when _setting_ the variable. Oops.
author Rob Landley <rob@landley.net>
date Thu, 05 Nov 2009 04:05:32 -0600
parents 7e4057d3b52a
children 34f7bf3f79a3
files root-filesystem.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/root-filesystem.sh	Thu Nov 05 02:29:40 2009 -0600
+++ b/root-filesystem.sh	Thu Nov 05 04:05:32 2009 -0600
@@ -78,7 +78,7 @@
 # Tell future packages to link against the libraries in the new root filesystem,
 # rather than the ones in the cross compiler directory.
 
-export ${ARCH}_WRAPPER_TOPDIR="$ROOT_TOPDIR"
+export "$(echo $ARCH | sed 's/-/_/g')"_WRAPPER_TOPDIR="$ROOT_TOPDIR"
 
 # Build and install uClibc++