summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
authorEric Mellino <erme@microsoft.com>2016-10-17 19:51:20 +0000
committerEric Mellino <erme@microsoft.com>2016-10-17 19:51:20 +0000
commita4675766d9dd85ab23e7865bc25d650c9dc66019 (patch)
treed20a29ea99ab41b820fcb133c4e655e6e0b69696 /init-tools.sh
parentbd653dd81092c314aff4d792c305009205d839fa (diff)
downloadcoreclr-a4675766d9dd85ab23e7865bc25d650c9dc66019.tar.gz
coreclr-a4675766d9dd85ab23e7865bc25d650c9dc66019.tar.bz2
coreclr-a4675766d9dd85ab23e7865bc25d650c9dc66019.zip
Allow alpine to run init-tools.sh
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh
index e842c9d431..7de28f759e 100755
--- a/init-tools.sh
+++ b/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"