mirror of
https://github.com/tuxbox-neutrino/buildenv.git
synced 2025-08-26 15:02:58 +02:00
init.sh: fix syntax error
line 184: [: ==: unary operator expected
This commit is contained in:
2
init.sh
2
init.sh
@@ -181,7 +181,7 @@ case "$IMAGE_VERSION" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Check machine type
|
# Check machine type
|
||||||
if [ $(is_valid_machine "$MACHINE") == false ]; then
|
if [ "$(is_valid_machine "$MACHINE")" = "false" ]; then
|
||||||
my_echo "\033[31;1mNo valid machine defined.\033[0m"
|
my_echo "\033[31;1mNo valid machine defined.\033[0m"
|
||||||
my_echo "$HINT_MACHINES"
|
my_echo "$HINT_MACHINES"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user