On Mon, Feb 20, 2012 at 09:48:48AM +0000, Ian Campbell wrote: > On Mon, 2012-02-20 at 09:22 +0000, Roger Pau Monné wrote: > > When looking into gen-offsets.sh [0] I've realized there's a strange > > shebang in the script ":", is this normal? Replacing ":" with > > "#!/bin/sh" solves the problem, but I don't understand why the ":" > > shebang works for some (on Debian stable it works ok) and what it > > means. > > I've no idea either -- I've copied the seabios ML.
It's an old-style way of indicating the file is a shell script. I wasn't aware this creeped in there - it should be converted to the more standard style. -Kevin commit 0fd9953a538b22e6087f9d4f25749e3622e40e87 Author: Kevin O'Connor <[email protected]> Date: Mon Feb 20 09:33:23 2012 -0500 Use "#!/bin/sh" instead of ":" in tools/gen-offsets.sh. Signed-off-by: Kevin O'Connor <[email protected]> diff --git a/tools/gen-offsets.sh b/tools/gen-offsets.sh index 99fdc53..73dede8 100755 --- a/tools/gen-offsets.sh +++ b/tools/gen-offsets.sh @@ -1,4 +1,4 @@ -: +#!/bin/sh # Extract definitions from an assembler file. This is based on code # from the Linux Kernel. INFILE=$1 _______________________________________________ SeaBIOS mailing list [email protected] http://www.seabios.org/mailman/listinfo/seabios
