detect_fortran 157 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /bin/bash

function detect_fortran()
{
    command -v $1 >/dev/null 2>&1
    if [ $? -ne 0 ]; then
      dgc_ret=0
      return
    fi

    dgc_ret=1
}