view run-from-build.sh @ 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 690b2f4cbbd3
children
line wrap: on
line source

#!/bin/bash

# Run development environment out of build directory, using host-tools.sh if
# available.

cd build/system-image-"$1" &&
  PATH="$(pwd)/build/host:$PATH" ./dev-environment.sh