Commit 0b6fcce5 authored by Jonas Schwab's avatar Jonas Schwab
Browse files

configure.sh: Replace bash with sh in check_libs

parent 10449db1
Pipeline #15646 passed with stages
in 18 minutes and 4 seconds
......@@ -68,7 +68,7 @@ check_libs()
{
FC="$1" LIBS="$2"
if command -v "$FC" > /dev/null; then # Calling the compiler is successful
bash -c "$FC check_libs.f90 $LIBS -o check_libs.out"
sh -c "$FC check_libs.f90 $LIBS -o check_libs.out"
if [ $? -eq 0 ]; then # Compiling with $LIBS is successful
./check_libs.out
else
......
Supports Markdown
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