Skip to content

Commit 6b53921

Browse files
scollinsonigorpecovnik
authored andcommitted
Add missing default for COLUMNS env var in uboot and kernel patching scripts
1 parent ea7f2b5 commit 6b53921

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/functions/compilation/kernel-patching.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function kernel_main_patching_python() {
3131
#"BOARD=" # BOARD is needed for the patchset selection logic; mostly for u-boot. empty for kernel.
3232
#"TARGET=" # TARGET is need for u-boot's SPI/SATA etc selection logic. empty for kernel
3333
# For table generation to fit into the screen, or being large when in GHA.
34-
"COLUMNS=${COLUMNS}"
34+
"COLUMNS=${COLUMNS:-160}"
3535
"COLORFGBG=${COLORFGBG}"
3636
"GITHUB_ACTIONS=${GITHUB_ACTIONS}"
3737
# Needed so git can find the global .gitconfig, and Python can parse the PATH to determine which git to use.

lib/functions/compilation/uboot-patching.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function uboot_main_patching_python() {
2626
"TARGET=${target_patchdir}" # TARGET is need for u-boot's SPI/SATA etc selection logic
2727
"USERPATCHES_PATH=${USERPATCHES_PATH}" # Needed to find the userpatches.
2828
# For table generation to fit into the screen, or being large when in GHA.
29-
"COLUMNS=${COLUMNS}"
29+
"COLUMNS=${COLUMNS:-160}"
3030
"COLORFGBG=${COLORFGBG}"
3131
"GITHUB_ACTIONS=${GITHUB_ACTIONS}"
3232
# Needed so git can find the global .gitconfig, and Python can parse the PATH to determine which git to use.

0 commit comments

Comments
 (0)