diff options
author | Bill Richardson <wfrichar@chromium.org> | 2010-08-20 07:58:43 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2010-08-20 07:58:43 -0700 |
commit | 793e1b41563a3dc580dc1fc0030ebebbe039835d (patch) | |
tree | 5dd6dc314a56ecfd92ef1f22af0d7f9489ddc628 /tests/common.sh | |
parent | 07c81177efe22731c3531fe2fa3dc5a42c1c931a (diff) | |
download | vboot-793e1b41563a3dc580dc1fc0030ebebbe039835d.tar.gz |
Run the cgpt tests in a separate directory.
I'm getting ready to add a bunch more cgpt tests. This is just to clear the
way.
Change-Id: I5cb781e85938b94da9c59528872ddfd386712726
Review URL: http://codereview.chromium.org/3162023
Diffstat (limited to 'tests/common.sh')
-rwxr-xr-x | tests/common.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/common.sh b/tests/common.sh index 1e2ca03f..cd7695f0 100755 --- a/tests/common.sh +++ b/tests/common.sh @@ -5,15 +5,7 @@ # found in the LICENSE file. # Determine script directory. -if [[ $0 == '/'* ]]; -then - SCRIPT_DIR="`dirname $0`" -elif [[ $0 == './'* ]]; -then - SCRIPT_DIR="`pwd`" -else - SCRIPT_DIR="`pwd`"/"`dirname $0`" -fi +SCRIPT_DIR=$(dirname $(readlink -f "$0")) ROOT_DIR="$(dirname ${SCRIPT_DIR})" BUILD_DIR="${ROOT_DIR}/build" |