mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
update comments
This commit is contained in:
parent
d9f4b35133
commit
b87adc2f46
@ -12,17 +12,9 @@
|
|||||||
# flow for all supported operating systems:
|
# flow for all supported operating systems:
|
||||||
#
|
#
|
||||||
# - git clone --recursive
|
# - git clone --recursive
|
||||||
# - ./install_deps.sh
|
# - ./scripts/install_deps.sh
|
||||||
# - cmake && make
|
# - cmake && make
|
||||||
#
|
#
|
||||||
# At the time of writing we are assuming that 'lsb_release' is present for all
|
|
||||||
# Linux distros, which is not a valid assumption. We will need a variety of
|
|
||||||
# approaches to actually get this working across all the distros which people
|
|
||||||
# are using.
|
|
||||||
#
|
|
||||||
# See http://unix.stackexchange.com/questions/92199/how-can-i-reliably-get-the-operating-systems-name
|
|
||||||
# for some more background on this common problem.
|
|
||||||
#
|
|
||||||
# TODO - There is no support here yet for cross-builds in any form, only
|
# TODO - There is no support here yet for cross-builds in any form, only
|
||||||
# native builds. Expanding the functionality here to cover the mobile,
|
# native builds. Expanding the functionality here to cover the mobile,
|
||||||
# wearable and SBC platforms covered by doublethink and EthEmbedded would
|
# wearable and SBC platforms covered by doublethink and EthEmbedded would
|
||||||
@ -55,6 +47,7 @@
|
|||||||
# Check for 'uname' and abort if it is not available.
|
# Check for 'uname' and abort if it is not available.
|
||||||
uname -v > /dev/null 2>&1 || { echo >&2 "ERROR - solidity requires 'uname' to identify the platform."; exit 1; }
|
uname -v > /dev/null 2>&1 || { echo >&2 "ERROR - solidity requires 'uname' to identify the platform."; exit 1; }
|
||||||
|
|
||||||
|
# See http://unix.stackexchange.com/questions/92199/how-can-i-reliably-get-the-operating-systems-name
|
||||||
detect_linux_distro() {
|
detect_linux_distro() {
|
||||||
if [ $(command -v lsb_release) ]; then
|
if [ $(command -v lsb_release) ]; then
|
||||||
DISTRO=$(lsb_release -is)
|
DISTRO=$(lsb_release -is)
|
||||||
|
Loading…
Reference in New Issue
Block a user