We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f549e4 commit 3d51940Copy full SHA for 3d51940
boot-switcher/META-INF/com/google/android/update-binary
@@ -26,7 +26,7 @@ abort() { ui_print "E$1: $2"; cleanup; exit $1; }
26
# >>> Custom functions >>>
27
28
# Verify device boardname validity (e.g. not unset, no spaces / uppercase chars)
29
-invalid_device() { [[ -z "$CURRENT_DEVICE" || "$CURRENT_DEVICE" = *" "* || "$CURRENT_DEVICE" =~ [A-Z] ]]; }
+invalid_device() { [[ -z "$CURRENT_DEVICE" || "$CURRENT_DEVICE" = *" "* || `echo "$CURRENT_DEVICE" | grep -q [A-Z]` ]]; }
30
31
# <<< Custom functions <<<
32
0 commit comments