changeset 1005:ed8e33b81032

Make run-emulator.sh executable.
author Rob Landley <rob@landley.net>
date Thu, 25 Mar 2010 03:10:32 -0500
parents 9141727b902a
children f99d25daec6a
files system-image.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/system-image.sh	Sun Mar 21 23:53:15 2010 -0500
+++ b/system-image.sh	Thu Mar 25 03:10:32 2010 -0500
@@ -173,7 +173,7 @@
 # filesystem, kernel, and base kernel command line arguments in case you want
 # to use an emulator other than qemu, but put the default case in qemu_defaults
 
-cat > "$STAGE_DIR/run-emulator.sh" << EOF || dienow
+cat > "$STAGE_DIR/run-emulator.sh" << EOF &&
 ARCH=$ARCH
 run_emulator()
 {
@@ -186,6 +186,7 @@
   run_emulator
 fi
 EOF
+chmod +x "$STAGE_DIR/run-emulator.sh" &&
 
 cat "$SOURCES"/toys/{unique-port,dev-environment}.sh >> "$STAGE_DIR/dev-environment.sh" &&
 chmod +x "$STAGE_DIR/dev-environment.sh" || dienow