More portable shebang, from 7heo <7heo@mail.com>

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!
This commit is contained in:
Pierre Pronchery 2014-03-13 13:55:43 +09:00
parent 42144aeef9
commit 6356b09f06

View File

@ -1,6 +1,6 @@
#!/usr/bin/env sh
#!/bin/sh
#$Id$
#Copyright (c) 2013 Pierre Pronchery <khorben@defora.org>
#Copyright (c) 2013-2014 Pierre Pronchery <khorben@defora.org>
#This file is part of DeforaOS Desktop Panel
#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