diff options
author | Raphael Moll <ralf@android.com> | 2010-05-27 16:44:17 -0700 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2010-05-27 16:44:17 -0700 |
commit | 7891a42834bb3dca1ebe1e5dc7bccd4c80e6a8fa (patch) | |
tree | 212eff56e5e01f5312fc3875c915517b609e58fc /eclipse/scripts | |
parent | 1e8a0225f544baa63098badd68a25e69dfd966bc (diff) | |
download | sdk-7891a42834bb3dca1ebe1e5dc7bccd4c80e6a8fa.zip sdk-7891a42834bb3dca1ebe1e5dc7bccd4c80e6a8fa.tar.gz sdk-7891a42834bb3dca1ebe1e5dc7bccd4c80e6a8fa.tar.bz2 |
Fix test symlinks script for windows
Change-Id: I5d9073c0c31d93005744f4309dab7c137cbeb3a0
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-x | eclipse/scripts/create_test_symlinks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclipse/scripts/create_test_symlinks.sh b/eclipse/scripts/create_test_symlinks.sh index 869515e..2ff87a2 100755 --- a/eclipse/scripts/create_test_symlinks.sh +++ b/eclipse/scripts/create_test_symlinks.sh @@ -6,6 +6,11 @@ set -e D=`dirname "$0"` cd "$D/../../../" +function die() { + echo "Error: $*" + exit 1 +} + # computes relative ".." paths from $1 to here (in /android) function back() { echo $1 | sed 's@[^/]*@..@g' |