Commit cc0a3c5d authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Break out of loop when first POSIX-compatible shell is found

parent 39f6d330
Pipeline #8105 passed with stages
in 19 minutes and 11 seconds
......@@ -11699,7 +11699,7 @@ else
/*) :
 
if "$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null; then :
ac_cv_path_shell=$SHELL
break
fi
;; #(
*) :
......
......@@ -14,7 +14,7 @@ AC_DEFUN([AX_POSIX_SHELL],
AS_CASE([$ac_cv_prog_shell],
[/*],[
AS_IF(["$ac_cv_prog_shell" -c "$ac_test_shell_script" 2>/dev/null],
[ac_cv_path_shell=$SHELL])
[break])
])
done
])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment