changeset 1169:d13ddec32cee

Only include the dev-environment.sh and native-build.sh scripts when the system image contains native development tools.
author Rob Landley <rob@landley.net>
date Mon, 12 Jul 2010 11:40:23 -0500
parents 6dbab6f6001b
children e34c00072500
files system-image.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/system-image.sh	Sun Jul 11 00:04:16 2010 -0500
+++ b/system-image.sh	Mon Jul 12 11:40:23 2010 -0500
@@ -160,7 +160,7 @@
 
 # Write out development wrapper scripts, substituting INCLUDE lines.
 
-for FILE in dev-environment.sh native-build.sh
+[ -z "$NO_NATIVE_COMPILER" ] && for FILE in dev-environment.sh native-build.sh
 do
   (export IFS="$(echo -e "\n")"
    cat "$SOURCES/toys/$FILE" | while read -r i