Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / scripts / mono-test-install
index 362eed4cf5625515f76f4e9c59884b3eb9a4c15f..3c1f74a88924a472fad802fc33de358e0e1faddb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Does various checks for people that we can use to diagnose
 # an end user installation
@@ -41,7 +41,6 @@ if pkg-config --modversion mono >& /dev/null; then
            echo "       than the Mono found:"
            echo "       Mono on PATH: $monocmd"
            echo "       Mono from pkg-config: $pkg_config_mono"
-           exit 1
        fi
 else 
         echo "Warning: pkg-config could not find mono installed on this system"
@@ -175,4 +174,4 @@ if mcs $temp_cs >& /dev/null; then
 else
     echo Failed to compile sample test program, your installation is broken
     exit 1
-fi
\ No newline at end of file
+fi