aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorrain <rainbeam@riseup.net>2016-08-17 02:54:48 +0800
committerrain <rainbeam@riseup.net>2016-08-17 02:54:48 +0800
commitb87adc2f4691e4d84e119509e9188f5913eb1ab5 (patch)
treeebeb81ad69168a5a8b7db912edc3e0e99fcc1d2d /scripts
parentd9f4b351331bc704898bfa7c9edfe0ec54e1179f (diff)
downloaddexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar.gz
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar.bz2
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar.lz
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar.xz
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.tar.zst
dexon-solidity-b87adc2f4691e4d84e119509e9188f5913eb1ab5.zip
update comments
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install_deps.sh11
1 files changed, 2 insertions, 9 deletions
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)