diff options
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,10 +1,10 @@ -#!/bin/bash +#!/bin/bash -e # Copy binaries for b in bin/*; do file=`basename $b` - # Don't copy symlinks like clang++ - if test -h $b; then + # Don't copy symlinks like clang++ or directories + if test -h $b || test -d $b; then echo Skipping $file else echo Copying $file @@ -17,8 +17,8 @@ done echo Copying static analyzer tools rm -rf tools/* mkdir -p tools -cp -ar ${ANDROID_BUILD_TOP}/external/clang/tools/scan-build tools -cp -ar ${ANDROID_BUILD_TOP}/external/clang/tools/scan-view tools +cp -a ${ANDROID_BUILD_TOP}/external/clang/tools/scan-build tools +cp -a ${ANDROID_BUILD_TOP}/external/clang/tools/scan-view tools # Copy libraries echo Copying libc++.dylib |