commit | f149b326108cf89a5d0298729c256a5ea96a4300 | [log] [tgz] |
---|---|---|
author | Miao Wang <[email protected]> | Sat Feb 27 12:01:59 2016 -0800 |
committer | Stephen Hines <[email protected]> | Thu Mar 17 19:28:33 2016 -0700 |
tree | b753a23143e2cc833a28ec42a61b8132a1393757 | |
parent | 71ce109daf5abd76ab057874aa0a94ce842e571f [diff] [blame] |
Make update_rs_prebuilts.sh work on darwin15 (OSX El Capitan) Bug: 27391260 Change-Id: I85fc7400a713b79a96d4a5df3d2ae42b0565fe8d
diff --git a/update_rs_prebuilts.sh b/update_rs_prebuilts.sh index 62e4d19..78906d6 100755 --- a/update_rs_prebuilts.sh +++ b/update_rs_prebuilts.sh
@@ -4,7 +4,7 @@ MY_ANDROID_DIR=$PWD/../../ cd $MY_ANDROID_DIR -if [ $OSTYPE == 'darwin13' ] || [ $OSTYPE == 'darwin14' ]; +if [[ $OSTYPE == darwin* ]]; then DARWIN=1