24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
local platform
for platform in "$@"; do
if [ "${PLATFORM}" = "${platform}" ]; then
return 0
fi
done
rm -rf out
exit 0
}
function download () {
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
local platform
for platform in "$@"; do
if [ "${PLATFORM}" = "${platform}" ]; then
return 0
fi
done
rm -rf out
exit 0
}
function only_platforms_regexp () {
local platform_re
for platform_re in "$@"; do
if echo "${PLATFORM}" | grep -- "${platform_re}" >/dev/null; then
return 0
fi
done
rm -rf out
exit 0
}
function download () {
|