aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Pfeffer <zach.pfeffer@linaro.org>2013-01-28 15:59:46 -0600
committerZach Pfeffer <zach.pfeffer@linaro.org>2013-01-28 15:59:46 -0600
commit3260290bdc9d2ef19a41e8deacf2be9c02d9176f (patch)
treeaa8a1d9d9410c3529132ed64ba4acbe9a7c7f2aa
parentf5726ca5e690309d30367e267e34910e669781ee (diff)
downloadat-3260290bdc9d2ef19a41e8deacf2be9c02d9176f.tar.gz
Fix paths
A couple of scripts still assumed they ran from in a subdirectory. Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rw-r--r--tools.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools.sh b/tools.sh
index 173ec98..620277d 100644
--- a/tools.sh
+++ b/tools.sh
@@ -244,7 +244,7 @@ function targetterm() {
}
function runadbhost() {
- export ANDROID_PRODUCT_OUT=$(realpath ../out/target/product/vexpress/)
+ export ANDROID_PRODUCT_OUT=$(realpath out/target/product/vexpress/)
adb kill-server
adb connect 127.0.0.1:5556
adb shell
@@ -401,13 +401,13 @@ export CRD_DOC="Close up a ramdisk, ord should have been run,
run bi after this to rebuild the axf file"
function crd() {
if [ -z "$1" ]; then
- local RAMDISK="../out/target/product/vexpress/ramdisk.img"
+ local RAMDISK="out/target/product/vexpress/ramdisk.img"
else
if [ ! -e "$1" ]; then
echo "$1 doesn't exist"
return
fi
- local RAMDISK="../$1"
+ local RAMDISK="$1"
fi
if [ ! -d rd ]; then
@@ -418,7 +418,7 @@ function crd() {
pushd rd
find ./ | cpio -H newc -o > ../ramdisk
gzip ../ramdisk -c > ../ramdisk.img
- cp ramdisk.img $RAMDISK
+ cp ../ramdisk.img ../$RAMDISK
popd
}