From 80c855913226ba608b6331e522a27a322928ece7 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 9 Oct 2019 12:24:22 -0700 Subject: [PATCH] sdk_clean.sh: the mac is now using the same sed as linux. Test: builds Change-Id: I783287d9a7ee7c3157a6275f011dbf05653c5a62 --- build/tools/sdk_clean.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/build/tools/sdk_clean.sh b/build/tools/sdk_clean.sh index a80e6e9d5..c396fb0de 100755 --- a/build/tools/sdk_clean.sh +++ b/build/tools/sdk_clean.sh @@ -13,21 +13,11 @@ DIR=$1 # changed in the process, making it easier to match 3rd party complaints/questions # with the source tree. # -# sed on Mac OS takes -i SUFFIX and sed on Linux takes -iSUFFIX -# -if [ $HOST_OS = darwin ] ; then -find $DIR -name "*.java" -o -name "*.xml" | xargs -n 1 \ - sed \ - -e "s/.*BEGIN_INCLUDE(.*//" \ - -e "s/.*END_INCLUDE(.*//" \ - -i "" -else find $DIR -name "*.java" -o -name "*.xml" | xargs -n 1 \ sed \ -e "s/.*BEGIN_INCLUDE(.*//" \ -e "s/.*END_INCLUDE(.*//" \ -i -fi # # Fix up the line endings of all text files. This also removes executable permissions.