Browse Source

Adapted skikoAospCommit to use gsed on macos (#1251)

pull/1256/head
alexander-gorshenev 3 years ago committed by GitHub
parent
commit
a68f82a8b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      compose/scripts/skikoAospCommit

9
compose/scripts/skikoAospCommit

@ -32,7 +32,14 @@ git checkout -B skiko$SKIKO_VERSION
popd
# --------------------------------- Change frameworks/support
sed -i 's/skiko = ".*"/skiko = "'"$SKIKO_VERSION"'"/' $AOSP_COMPOSE_SOURCE/frameworks/support/gradle/libs.versions.toml
if [[ $OSTYPE == 'darwin'* ]]; then
SED=gsed
else
SED=sed
fi
$SED -i 's/skiko = ".*"/skiko = "'"$SKIKO_VERSION"'"/' $AOSP_COMPOSE_SOURCE/frameworks/support/gradle/libs.versions.toml
# --------------------------------- Change frameworks/prebuilts/androidx/external

Loading…
Cancel
Save