mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'gradle-wrapper-multiple' into 'master'
gradlew-fdroid: fix multiple gradle-wrapper.properties parsing See merge request fdroid/fdroidserver!613
This commit is contained in:
commit
7d8fbd3126
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ for f in {.,..}/gradle/wrapper/gradle-wrapper.properties; do
|
||||||
while read l; do
|
while read l; do
|
||||||
if [[ $l == 'distributionUrl='* ]]; then
|
if [[ $l == 'distributionUrl='* ]]; then
|
||||||
wrapper_ver=$(echo -n "$l" | sed "s/.*gradle-\\([0-9\\.\\+]\\+\\).*/\\1/")
|
wrapper_ver=$(echo -n "$l" | sed "s/.*gradle-\\([0-9\\.\\+]\\+\\).*/\\1/")
|
||||||
|
break 2
|
||||||
fi
|
fi
|
||||||
done < $f
|
done < $f
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue