aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRJ Catalano <rj@monax.io>2017-02-08 06:20:48 +0800
committerRJ Catalano <rj@monax.io>2017-02-10 01:31:07 +0800
commite884f7a4790c498e4b406e42aec5a7f7b4102368 (patch)
tree34a605b1b5d6673ade476cd0de8861cf158f6094
parent7ffc6863fb33775fb95b6ca2994dd769d3db33c3 (diff)
downloaddexon-solidity-e884f7a4790c498e4b406e42aec5a7f7b4102368.tar.gz
dexon-solidity-e884f7a4790c498e4b406e42aec5a7f7b4102368.tar.zst
dexon-solidity-e884f7a4790c498e4b406e42aec5a7f7b4102368.zip
minor fixups
Signed-off-by: RJ Catalano <rj@monax.io>
-rwxr-xr-xscripts/docker_deploy.sh2
-rwxr-xr-xscripts/install_deps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh
index f4c61601..870cca44 100755
--- a/scripts/docker_deploy.sh
+++ b/scripts/docker_deploy.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
-version=version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/CMakeLists.txt)
+version=$(grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? $(dirname "$0")/CMakeLists.txt)
if [ "$TRAVIS_BRANCH" == "develop" ]; then
docker tag ethereum/solc:build ethereum/solc:nightly;
docker tag ethereum/solc:build ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT"
diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh
index 869bce35..7cfc92f2 100755
--- a/scripts/install_deps.sh
+++ b/scripts/install_deps.sh
@@ -57,7 +57,7 @@ detect_linux_distro() {
# extract 'foo' from NAME=foo, only on the line with NAME=foo
DISTRO=$(sed -n -e 's/^NAME="\(.*\)\"/\1/p' /etc/os-release)
elif [ -f /etc/centos-release ]; then
- DISTRO=CentOS
+ DISTRO=CentOS
else
DISTRO=''
fi