1 From df4f5ccc376a630b1a587a8ca3b1f35a305867dd Mon Sep 17 00:00:00 2001
2 From: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
3 Date: Wed, 23 Aug 2017 07:19:03 +0000
4 Subject: [PATCH] autoopts/mk-tpl-config.sh: fix shell path
6 POSIX_SHELL as shebang doesn't work when it is longer than
7 BINPRM_BUF_SIZE which is 128 usually. So use "/bin/sh".
9 Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
11 autoopts/mk-tpl-config.sh | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/autoopts/mk-tpl-config.sh b/autoopts/mk-tpl-config.sh
15 index c4708a2..550870e 100755
16 --- a/autoopts/mk-tpl-config.sh
17 +++ b/autoopts/mk-tpl-config.sh
18 @@ -102,7 +102,7 @@ fix_scripts() {
22 - */sh ) echo '#!' ${POSIX_SHELL}
23 + */sh ) echo '#!/bin/sh'