From: brarcher Date: Thu, 19 Jun 2014 01:53:32 +0000 (+0000) Subject: Use env to find shell to use X-Git-Tag: 0.10.0~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95d80befe622dc26ab50e7ef252c5e84880a506d;p=check Use env to find shell to use On at least one platform (Solaris), the shell located at /bin/sh is not a compliant shell. Using env as a form of redirection to find a sh program, the PATH can be changed to find a compliant sh to use. On platforms where /bin/sh is compliant, env should work just fine. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1145 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/checkmk/test/check_checkmk b/checkmk/test/check_checkmk index f591a18..1f0120e 100755 --- a/checkmk/test/check_checkmk +++ b/checkmk/test/check_checkmk @@ -1,4 +1,4 @@ -#! /bin/sh +#!/usr/bin/env sh TESTS_RUN=0 TESTS_PASSED=0