diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-28 10:40:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-05-05 21:27:10 -0700 |
commit | a0b51744bd1eb4b0c2932f5373856f9677a433b7 (patch) | |
tree | 6b830a957998f61c4af9bddcad3e65c9b1a06007 | |
parent | 378c1aec4f1e08d8607b702b2e6b9e1a5c8a2fe3 (diff) | |
download | build-a0b51744bd1eb4b0c2932f5373856f9677a433b7.zip build-a0b51744bd1eb4b0c2932f5373856f9677a433b7.tar.gz build-a0b51744bd1eb4b0c2932f5373856f9677a433b7.tar.bz2 |
cout: move to $out
Change-Id: I3b5bf8a5f62dcdf267662bb97a2073150152cfa6
-rw-r--r-- | envsetup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh index 2697d89..de68db3 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -4,6 +4,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y - lunch: lunch <product_name>-<build_variant> - tapas: tapas [<App1> <App2> ...] [arm|x86|mips] [eng|userdebug|user] - croot: Changes directory to the top of the tree. +- cout: Changes directory to out. - m: Makes from the top of the tree. - mm: Builds all of the modules in the current directory. - mmp: Builds all of the modules in the current directory and pushes them to the device. @@ -868,6 +869,15 @@ function croot() fi } +function cout() +{ + if [ "$OUT" ]; then + cd $OUT + else + echo "Couldn't locate out directory. Try setting OUT." + fi +} + function cproj() { TOPFILE=build/core/envsetup.mk |