Skip to contentSkip to conversation

util/grub.d/25_bli.in: fix shebang on unmerged-usr

PATCH In review Oskari Pirhonen 4 participants 4 messages Jul 11, 2023 – Jul 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util/grub.d/25_bli.in: fix shebang on unmerged-usr

On an unmerged-usr system, grub-mkconfig errors out with the following error due to /usr/bin/sh not existing:

/usr/sbin/grub-mkconfig: /etc/grub.d/25_bli: /usr/bin/sh: bad interpreter: No such file or directory

Use a /bin/sh shebang to fix the error as well as match the other existing files.

---
 util/grub.d/25_bli.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/25_bli.in +1 -1
index 6e4538716..26e27a019 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/sh
+#! /bin/sh
 set -e
 
 # grub-mkconfig helper script.
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…

On an unmerged-usr system, grub-mkconfig errors out with the following error due to /usr/bin/sh not existing:

/usr/sbin/grub-mkconfig: /etc/grub.d/25_bli: /usr/bin/sh: bad interpreter: No such file or directory

Use a /bin/sh shebang to fix the error as well as match the other existing files.

---
 util/grub.d/25_bli.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/25_bli.in +0 -0
index 6e4538716..26e27a019 100644

util/grub.d/25_bli.in line 4

Quoted 5 lines
util/grub.d/25_bli.in +1 -1
@@ -1,4 +1,4 @@
-#!/usr/bin/sh
+#! /bin/sh
 set -e
 
 # grub-mkconfig helper script.

Glenn

Reviewed-by
#2 lore raw
Quoted 25 lines · Glenn Washburn
Quoted 22 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…

On an unmerged-usr system, grub-mkconfig errors out with the following error due to /usr/bin/sh not existing:

/usr/sbin/grub-mkconfig: /etc/grub.d/25_bli: /usr/bin/sh: bad interpreter: No such file or directory

Use a /bin/sh shebang to fix the error as well as match the other existing files.

---
 util/grub.d/25_bli.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/25_bli.in +1 -1
index 6e4538716..26e27a019 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/sh
+#! /bin/sh
 set -e
 
Quoted 3 lines

util/grub.d/25_bli.in line 4

Quoted 1 line
util/grub.d/25_bli.in +0 -0
 # grub-mkconfig helper script.

Daniel

Reviewed-by
#3 lore raw

Quoting Daniel Kiper (2023-07-13 20:16:40)

Quoted 26 lines · Glenn Washburn
Quoted 25 lines
Quoted 22 lines · On Mon, 10 Jul 2023 23:55:43 -0500 Oskari Pirhonen <[email protected]>…

On an unmerged-usr system, grub-mkconfig errors out with the following error due to /usr/bin/sh not existing:

/usr/sbin/grub-mkconfig: /etc/grub.d/25_bli: /usr/bin/sh: bad interpreter: No such file or directory

Use a /bin/sh shebang to fix the error as well as match the other existing files.

---
 util/grub.d/25_bli.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/25_bli.in +1 -1
index 6e4538716..26e27a019 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/sh
+#! /bin/sh
 set -e
 
Quoted 6 lines
Quoted 3 lines

util/grub.d/25_bli.in line 4

Quoted 1 line
util/grub.d/25_bli.in +0 -0
 # grub-mkconfig helper script.

Yeah, /bin/sh sounds much better. Thanks for fixing this.