projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05df8c
)
Allow alpine to run init-tools.sh
author
Eric Mellino
<erme@microsoft.com>
Mon, 17 Oct 2016 19:51:20 +0000
(19:51 +0000)
committer
Eric Mellino
<erme@microsoft.com>
Mon, 17 Oct 2016 19:51:20 +0000
(19:51 +0000)
Commit migrated from https://github.com/dotnet/coreclr/commit/
a4675766d9dd85ab23e7865bc25d650c9dc66019
src/coreclr/init-tools.sh
patch
|
blob
|
history
diff --git
a/src/coreclr/init-tools.sh
b/src/coreclr/init-tools.sh
index
e842c9d
..
7de28f7
100755
(executable)
--- a/
src/coreclr/init-tools.sh
+++ b/
src/coreclr/init-tools.sh
@@
-48,6
+48,9
@@
get_current_linux_name() {
elif [ "$(cat /etc/*-release | grep -cim1 debian)" -eq 1 ]; then
echo "debian"
return 0
+ elif [ "$(cat /etc/*-release | grep -cim1 alpine)" -eq 1 ]; then
+ echo "alpine"
+ return 0
elif [ "$(cat /etc/*-release | grep -cim1 fedora)" -eq 1 ]; then
if [ "$(cat /etc/*-release | grep -cim1 23)" -eq 1 ]; then
echo "fedora.23"