diff options
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/containerized_build.sh | 2 | ||||
-rwxr-xr-x | .travis/create_artifacts.sh | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.travis/containerized_build.sh b/.travis/containerized_build.sh index 8beb36d6c6..314a2ec392 100755 --- a/.travis/containerized_build.sh +++ b/.travis/containerized_build.sh @@ -2,6 +2,6 @@ set -e -docker build -t dev-image -f .travis/images/Dockerfile.$1 . +docker build -t dev-image -f ".travis/images/Dockerfile.$1" . docker run -it -w /code dev-image ./netdata-installer.sh --dont-wait --dont-start-it --install /tmp diff --git a/.travis/create_artifacts.sh b/.travis/create_artifacts.sh index dacc67825d..1c1f909329 100755 --- a/.travis/create_artifacts.sh +++ b/.travis/create_artifacts.sh @@ -1,8 +1,9 @@ #!/bin/bash +# shellcheck disable=SC2230 if [ ! -f .gitignore ] then - echo "Run as ./travis/$(basename $0) from top level directory of git repository" + echo "Run as ./travis/$(basename "$0") from top level directory of git repository" exit 1 fi @@ -19,6 +20,6 @@ fakeroot ./packaging/git-build python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' # make self-extractor ./makeself/build-x86_64-static.sh -for i in *.tar.gz; do sha512sum -b $i > $i.sha; done -for i in *.gz.run; do sha512sum -b $i > $i.sha; done +for i in *.tar.gz; do sha512sum -b "$i" > "$i.sha"; done +for i in *.gz.run; do sha512sum -b "$i" > "$i.sha"; done ./.travis/deploy-if-have-key |