Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_samsung_universal7904
/
b5b7a8cc5d998ba57f778988f67bc0e1d6b75cee
/
.
/
scripts
/
android-major-version.sh
blob: e806470295588ea228cd5ecd1d2d216256bab886 [
file
] [
log
] [
blame
]
#!/bin/sh
MAJOR
=
$
(
echo $1
|
cut
-
d
'.'
-
f
1
)
let MAJOR
=
MAJOR
+
103
printf
"%b"
"$(printf '\%03o' $MAJOR)"