projects
/
platform
/
upstream
/
coreclr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update runtest.sh
[platform/upstream/coreclr.git]
/
init-tools.sh
diff --git
a/init-tools.sh
b/init-tools.sh
index
9a5c8b3
..
f965583
100755
(executable)
--- a/
init-tools.sh
+++ b/
init-tools.sh
@@
-43,19
+43,15
@@
get_current_linux_name() {
echo "alpine"
return 0
elif [ "$(cat /etc/os-release | grep -cim1 fedora)" -eq 1 ]; then
echo "alpine"
return 0
elif [ "$(cat /etc/os-release | grep -cim1 fedora)" -eq 1 ]; then
- if [ "$(cat /etc/os-release | grep -cim1 23)" -eq 1 ]; then
- echo "fedora.23"
- return 0
- fi
if [ "$(cat /etc/os-release | grep -cim1 24)" -eq 1 ]; then
echo "fedora.24"
return 0
fi
if [ "$(cat /etc/os-release | grep -cim1 24)" -eq 1 ]; then
echo "fedora.24"
return 0
fi
- elif [ "$(cat /etc/os-release | grep -cim1 opensuse)" -eq 1 ]; then
- if [ "$(cat /etc/os-release | grep -cim1 13.2)" -eq 1 ]; then
- echo "opensuse.13.2"
+ if [ "$(cat /etc/os-release | grep -cim1 25)" -eq 1 ]; then
+ echo "fedora.25"
return 0
fi
return 0
fi
+ elif [ "$(cat /etc/os-release | grep -cim1 opensuse)" -eq 1 ]; then
if [ "$(cat /etc/os-release | grep -cim1 42.1)" -eq 1 ]; then
echo "opensuse.42.1"
return 0
if [ "$(cat /etc/os-release | grep -cim1 42.1)" -eq 1 ]; then
echo "opensuse.42.1"
return 0