Clean handling of ANDROID_PLATFORM containing decimal, like 36.1 by metayan · Pull Request #6408 · Genymobile/scrcpy (original) (raw)
Removes the following error: ./server/build_without_gradle.sh: line 89: [[: 36.1: syntax error: invalid arithmetic operator (error token is ".1")
pushed a commit that referenced this pull request
ANDROID_PLATFORM is not always an integer; it can also be a value like "36.1". Handle such cases properly.
This fixes the following error:
server/build_without_gradle.sh: line 89:
[[: 36.1: syntax error: invalid arithmetic operator (error token is ".1")
Signed-off-by: Romain Vimont rom@rom1v.com
Linux4 added a commit to Linux4/scrcpy that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})