OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 # | |
3 | |
4 UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
5 | |
6 if [ -z "$SKIA_OUT" ] | |
7 then | |
8 | |
9 if [ ! -f .android_config ] | |
10 then | |
11 echo "Unable to find the .android_config file" | |
12 exit 1; | |
13 fi | |
14 | |
15 export SKIA_OUT=$(cat .android_config) | |
16 | |
17 if [ ! -d ${SKIA_OUT} ] | |
18 then | |
19 echo "The contents of .android_config are invalid" | |
20 exit 1; | |
21 fi | |
22 fi | |
OLD | NEW |