view run-from-build.sh @ 1027:ac61473c45e8

Milton Miller spotted a bug where PATH was being set twice, and thus wasn't including both potential compiler locations at once.
author Rob Landley <rob@landley.net>
date Mon, 05 Apr 2010 02:06:00 -0500
parents fc134a13357e
children 690b2f4cbbd3
line wrap: on
line source

#!/bin/bash

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

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

# Run development environment.

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