changeset 1042:0852a69b0d65

Fix the workaround for Ubuntu's newly overcomplicated host toolchain to put the new symlink in the right directory.
author Rob Landley <rob@landley.net>
date Fri, 30 Apr 2010 09:07:36 -0500
parents 77024e0f4ccb
children d62c5c8734b2
files host-tools.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/host-tools.sh	Fri Apr 30 09:03:06 2010 -0500
+++ b/host-tools.sh	Fri Apr 30 09:07:36 2010 -0500
@@ -108,7 +108,7 @@
 # gcc.real.  Systems that aren't crazy don't need this.
 
 ET_TU_UBUNTU="$(PATH="$OLDPATH" "$STAGE_DIR/which" gcc.real)"
-[ ! -z "$ET_TU_UBUNTU" ] && ln -sf "$ET_TU_UBUNTU" gcc.real
+[ ! -z "$ET_TU_UBUNTU" ] && ln -sf "$ET_TU_UBUNTU" "$STAGE_DIR/gcc.real"
 
 # We now have all the tools we need in $STAGE_DIR, so trim the $PATH to
 # remove the old ones.