Skip to content

Commit

Permalink
Fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Kocheshkova committed Aug 4, 2020
1 parent e74c367 commit 588d153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/set-ndk-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ if [ -z $VERSION ]; then
echo "No NDK found in the default location. Proceeding..."
else
NDK_VERSION_LINE="ndkVersion = $VERSION"
sed 's/android {/'android { $NDK_VERSION_LINE'/g' "$GRADLE_FILE"
#sed -a '' 's/\(android { \).*/\1'$NDK_VERSION_LINE'/g' $file
sed 's/android {/android { '$NDK_VERSION_LINE'/g' "$GRADLE_FILE"
fi

0 comments on commit 588d153

Please sign in to comment.