From e884f7a4790c498e4b406e42aec5a7f7b4102368 Mon Sep 17 00:00:00 2001 From: RJ Catalano Date: Tue, 7 Feb 2017 16:20:48 -0600 Subject: [PATCH] minor fixups Signed-off-by: RJ Catalano --- scripts/docker_deploy.sh | 2 +- scripts/install_deps.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh index f4c61601b..870cca442 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 869bce35a..7cfc92f2f 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