mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-23 14:07:34 +02:00
idk how i missed these files and folders
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
# $1 = source.properties
|
||||
# $2 = NDK version to be checked
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "unknown"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ndkVersion=$(grep -Po 'Pkg.Revision = (\d+)' "$1" | grep -Po '\d+')
|
||||
|
||||
if [ "$ndkVersion" -ge "$2" ]; then
|
||||
echo "yes"
|
||||
else
|
||||
echo "no"
|
||||
fi
|
||||
Reference in New Issue
Block a user