From 95d80befe622dc26ab50e7ef252c5e84880a506d Mon Sep 17 00:00:00 2001 From: brarcher Date: Thu, 19 Jun 2014 01:53:32 +0000 Subject: [PATCH] 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 --- checkmk/test/check_checkmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0