]> granicus.if.org Git - check/commitdiff
Replace /bin/sh with env sh in the bang line.
authorGeorg Sauthoff <mail@georg.so>
Tue, 29 Dec 2015 17:07:21 +0000 (18:07 +0100)
committerGeorg Sauthoff <mail@georg.so>
Tue, 29 Dec 2015 17:07:21 +0000 (18:07 +0100)
The bang line is changed since /bin/sh isn't POSIX
conforming on Solaris 10.

And according to POSIX /bin/sh does not even have to be
POSIX conforming. Thus, it is more portable to rewrite
the bang line using env.

tests/test_output_strings

index 44e0cb0986107b4f69577b79eec601e5c55cfbc3..1e6ee7c660a4a70c3e17912537170cf52bc013b7 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
 
 . ./test_vars