[Buildroot] [git commit master] check-host-sed.sh: add missing shebang line

Peter Korsgaard jacmet at sunsite.dk
Thu May 6 19:17:01 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=29df95079de22d3b8558ae8fbecd4a71676e1b13
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Bash seems to be smart enough to source the file when execve returns
ENOEXEC, but other shells might not be.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 toolchain/dependencies/check-host-sed.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/toolchain/dependencies/check-host-sed.sh b/toolchain/dependencies/check-host-sed.sh
index 71f0eb9..188b721 100755
--- a/toolchain/dependencies/check-host-sed.sh
+++ b/toolchain/dependencies/check-host-sed.sh
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 SEDLIST="/usr/bin/sed /bin/sed sed gnused gsed"
 
 for SED in $SEDLIST
-- 
1.6.3.3




More information about the buildroot mailing list