From: <al...@us...> - 2023-03-19 18:47:29
|
This is an automated email from the git hooks/post-receive-user script. allura pushed a commit to branch master in repository fuse. View the commit online: https://sourceforge.net/p/fuse-emulator/fuse/ci/58ac76a72e3d9f66d13c241b406b2b60dced110c/ commit 58ac76a72e3d9f66d13c241b406b2b60dced110c Author: Miroslav Ďurčík / Arki55 <mir...@gm...> AuthorDate: Sun Feb 5 20:29:14 2023 +0100 fix: Updated in_config.sh as it should be, Checking that a message is at least once in output. --- .github/scripts/in_config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/in_config.sh b/.github/scripts/in_config.sh index d4c15e40..d3d03e7b 100755 --- a/.github/scripts/in_config.sh +++ b/.github/scripts/in_config.sh @@ -1,8 +1,8 @@ #!/bin/bash -echo "Looking for line '$1' .." +echo -n "Verify configure line '$1' .. " lines1=(`cat "./configure.out" | grep -c "$1"`) -if [[ "$lines1" -ne "1" ]]; then - echo "Error: Line $1 not found!" +if [[ "$lines1" -lt "1" ]]; then + echo "NOT FOUND" exit 1 fi -echo "Line '$1' was found." +echo "OK" |