view run-from-build.sh @ 987:b6d7a815e47a

Don't need to blank STAGE_DIR when read_arch_dir already does.
author Rob Landley <rob@landley.net>
date Wed, 24 Feb 2010 10:17:43 -0600
parents fc134a13357e
children ac61473c45e8
line wrap: on
line source

#!/bin/bash

# Grab cross compiler (for distcc) and run development environment.

export PATH="$(pwd)/build/host:$(pwd)/build/"{,simple-}"cross-compiler-$1/bin:$PATH"

# Run development environment.

cd build/system-image-"$1" && ./dev-environment.sh