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/382e41a3252c2de24fc035c35085e377f6dc4b17/ commit 382e41a3252c2de24fc035c35085e377f6dc4b17 Author: Miroslav Ďurčík / Arki55 <mir...@gm...> AuthorDate: Sun Feb 5 19:46:29 2023 +0100 build: Supporting bash script for github workflows, used to verify if output from configure script contains certain text. --- .github/scripts/in_config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/scripts/in_config.sh b/.github/scripts/in_config.sh new file mode 100755 index 00000000..d4c15e40 --- /dev/null +++ b/.github/scripts/in_config.sh @@ -0,0 +1,8 @@ +#!/bin/bash +echo "Looking for line '$1' .." +lines1=(`cat "./configure.out" | grep -c "$1"`) +if [[ "$lines1" -ne "1" ]]; then + echo "Error: Line $1 not found!" + exit 1 +fi +echo "Line '$1' was found." |