Skip to content

Commit 2748c57

Browse files
committed
style(interactive): remove duplicated shebang line
lib/functions/configuration/interactive.sh has a stray second '#!/usr/bin/env bash' on line 10, right after the SPDX/copyright header, introduced by commit b7b8eb7 ("Add / modify (c) in bash scripts", #4922) where the (c) header was inserted above the existing shebang and the original below was left in place. bash treats it as a comment so behaviour is unchanged, but it is cosmetic noise. Single-line removal, no other edits. Assisted-by: Claude:claude-opus-4.7
1 parent 05bc2d6 commit 2748c57

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/functions/configuration/interactive.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
# This file is a part of the Armbian Build Framework
88
# https://github.com/armbian/build/
99

10-
#!/usr/bin/env bash
11-
1210
function interactive_config_prepare_terminal() {
1311
if [[ -z $ROOT_FS_CREATE_ONLY ]]; then
1412
if [[ -t 0 ]]; then # "-t fd return True if file descriptor fd is open and refers to a terminal". 0 = stdin, 1 = stdout, 2 = stderr, 3+ custom

0 commit comments

Comments
 (0)