Commit 2ca7454
committed
Fix release e2e local testing: use printf instead of echo -e for gradle.properties
On macOS, /bin/sh's echo does not support -e, so
`echo -e "\n..." >> android/gradle.properties` appends a literal
"-e " onto the preceding property (e.g. android.newDsl=false becomes
android.newDsl=false-e ), which Gradle then fails to parse:
Cannot parse project property android.newDsl='false-e ' of type
'class java.lang.String' as boolean. Expected 'true' or 'false'.
Use printf, which is portable across shells, to append the
react.internal.mavenLocalRepo line.1 parent 6c483a1 commit 2ca7454
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
294 | 296 | | |
295 | | - | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
0 commit comments