Skip to content

Commit

Permalink
chore: fix typo in cache hash script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Dec 25, 2023
1 parent a5285de commit 62b556f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/cache-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ echo auto generated contents >> $MAGIC
# fetch jni relative elements
grep ndkVersion app/build.gradle.kts >> $MAGIC

elments=("buildTypes" "externalNativeBuild" "splits")
for element in ${elments[@]}; do
elements=("buildTypes" "externalNativeBuild" "splits")
for element in ${elements[@]}; do
awk "/$element/,/\}/" app/build.gradle.kts >> $MAGIC
done

Expand Down

0 comments on commit 62b556f

Please sign in to comment.