Check env var is set explicitly in the beginning? #3

Closed
opened 2023-11-20 11:16:34 +00:00 by Sinipelto · 2 comments
Contributor

if [ "$BANAN_UEFI_BOOT" == "1" ]; then

https://git.bananymous.com/Bananymous/banan-os/src/commit/f2397b775c7d485f6eb6a076523cc9e05d5b3a98/script/image-create.sh#L34
Owner

Yeah that can be checked. Also the if statement could probably just be if (($BANAN_UEFI_BOOT)); then and let the shell check if it is zero or non-zero.

Yeah that can be checked. Also the if statement could probably just be `if (($BANAN_UEFI_BOOT)); then` and let the shell check if it is zero or non-zero.
Owner

Resolved in #4 and 5e9b21bdce3a96efc797f698757d94830c0f03e7

Resolved in #4 and 5e9b21bdce3a96efc797f698757d94830c0f03e7
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Bananymous/banan-os#3