changeset 1011:1b364391e821

Bug spotted by Milton Miller: create stage tarball _after_ the compile smoketest.
author Rob Landley <rob@landley.net>
date Fri, 26 Mar 2010 12:58:50 -0500
parents 98dbfffd3b0a
children 4d59b8946220
files simple-cross-compiler.sh
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/simple-cross-compiler.sh	Fri Mar 26 04:57:11 2010 -0500
+++ b/simple-cross-compiler.sh	Fri Mar 26 12:58:50 2010 -0500
@@ -61,10 +61,6 @@
   done
 fi
 
-# Tar it up
-
-create_stage_tarball
-
 # A quick hello world program to test the cross compiler out.
 # Build hello.c dynamic, then static, to verify header/library paths.
 
@@ -73,6 +69,8 @@
 "${ARCH}-gcc" -Os "${SOURCES}/toys/hello.c" -o "$WORK"/hello &&
 "${ARCH}-gcc" -Os -static "${SOURCES}/toys/hello.c" -o "$WORK"/hello || dienow
 
-[ $? -ne 0 ] && dienow
+# Tar it up
+
+create_stage_tarball
 
 echo -e "\e[32mCross compiler toolchain build complete.\e[0m"