From 46adc5e7d45a86d0f4821344694ad34201b9bf2e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 13 Mar 2014 13:49:29 +0900 Subject: [PATCH] More portable shebang, from 7heo <7heo@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: « The path /bin/sh for the shebang is more portable than /usr/bin/env, according to Sven Mascheck: http://in-ulm.de/~mascheck/various/shebang/#env and: http://in-ulm.de/~mascheck/various/shells/ Additionally, a space after the shebang first two characters (#!) is said to be more portable: http://in-ulm.de/~mascheck/various/shebang/#blankrequired I fixed the test script shebang accordingly. » It doesn't say the presence of a space makes it more portable; it says it was a rumor that could never be proven true, for some completely obsolete releases of UNIX. I did not apply that part. Thanks! --- tests/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index b620054..50e2d4e 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env sh +#!/bin/sh #$Id$ -#Copyright (c) 2011-2013 Pierre Pronchery +#Copyright (c) 2011-2014 Pierre Pronchery #This file is part of DeforaOS System libSystem #This program is free software: you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by