From b87adc2f4691e4d84e119509e9188f5913eb1ab5 Mon Sep 17 00:00:00 2001 From: rain Date: Tue, 16 Aug 2016 19:54:48 +0100 Subject: update comments --- scripts/install_deps.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 4e75ac62..4fb948ed 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -12,17 +12,9 @@ # flow for all supported operating systems: # # - git clone --recursive -# - ./install_deps.sh +# - ./scripts/install_deps.sh # - 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 # native builds. Expanding the functionality here to cover the mobile, # wearable and SBC platforms covered by doublethink and EthEmbedded would @@ -55,6 +47,7 @@ # 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; } +# See http://unix.stackexchange.com/questions/92199/how-can-i-reliably-get-the-operating-systems-name detect_linux_distro() { if [ $(command -v lsb_release) ]; then DISTRO=$(lsb_release -is) -- cgit v1.2.3