diff --git a/lint b/lint index 15a97d4cdd..566e329b66 100755 --- a/lint +++ b/lint @@ -173,7 +173,7 @@ lint() { coverage.html) return ;; esac - if [[ "$(file --mime-type "${filename}" | awk '{print $2}')" = "text/x-shellscript" ]]; then + if [[ "$(file --mime-type "${filename}" | awk '{print $2}')" == "text/x-shellscript" ]]; then ext="sh" fi