From 4351745c06cb51f373ce6a9e8f7dfdc1e45190d4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 13 Mar 2014 13:42:43 +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 f98278d..2b3684b 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env sh +#!/bin/sh #$Id$ -#Copyright (c) 2012-2013 Pierre Pronchery +#Copyright (c) 2012-2014 Pierre Pronchery #This file is part of DeforaOS System libApp #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