diff --git a/ci/scripts/build.sh b/ci/scripts/build.sh index e357fb4609bc0ea559b42614b387335963ee58ec..40bcb7f15e6120cc6c4aeaa0669a15964dc4f9cf 100755 --- a/ci/scripts/build.sh +++ b/ci/scripts/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (C) HySoP 2011-2022 ## diff --git a/ci/scripts/config.sh b/ci/scripts/config.sh index b8f7dde3728060a325180492bee4a71b0421edae..e67e17b36a927456531012821df1650a9d9baf5a 100755 --- a/ci/scripts/config.sh +++ b/ci/scripts/config.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (C) HySoP 2011-2022 ## diff --git a/ci/scripts/install.sh b/ci/scripts/install.sh index 06daa6b3826b065bc8a6e265bcaa359197c98aa1..26c36397e7eeaaa0350b877d4c3028ce7e8c699a 100755 --- a/ci/scripts/install.sh +++ b/ci/scripts/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (C) HySoP 2011-2022 ## diff --git a/ci/scripts/test.sh b/ci/scripts/test.sh index 621d7386bc7ae3912a8435711a243677090f5c64..c23d54625133f06fc4917a3d087ce3d3d1bb947c 100755 --- a/ci/scripts/test.sh +++ b/ci/scripts/test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (C) HySoP 2011-2022 ## diff --git a/ci/scripts/version.sh b/ci/scripts/version.sh index a8a1cde38ab8259c026304e5c25413853f23746f..b48f9c7f18a70249ef234aef8a62c630f4ee8bd7 100755 --- a/ci/scripts/version.sh +++ b/ci/scripts/version.sh @@ -1,19 +1,4 @@ -#!/bin/bash -## -## Copyright (C) HySoP 2011-2022 -## -## Licensed under the Apache License, Version 2.0 (the "License"); -## you may not use this file except in compliance with the License. -## You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## +#!/usr/bin/env bash set -feu -o pipefail echo "HOST" uname -a diff --git a/ci/utils/run_ci.bat b/ci/utils/run_ci.bat index 34118d2c64eed5c43f9c3b143dc981e5b3ed2b6e..e6d0628ee06f24af5a6c3778dc14df6ac69cb65f 100644 --- a/ci/utils/run_ci.bat +++ b/ci/utils/run_ci.bat @@ -16,6 +16,6 @@ docker create %EXTRA_ARGS% -v "%SCRIPT_DIR%\..\..:/hysop:ro" --name=%CONTAINER_I docker start %CONTAINER_ID% -docker exec %CONTAINER_ID% /hysop/ci/scripts/build_and_test.sh +docker exec %CONTAINER_ID% /usr/bin/bash /hysop/ci/scripts/build_and_test.sh docker commit %CONTAINER_ID% %DOCKER_IMG%