From 1dcbb4db17ef0c28d592de639dbaffedc3b515a5 Mon Sep 17 00:00:00 2001 From: Lucas Caudill Date: Fri, 7 Jun 2024 21:00:44 +0000 Subject: [PATCH] what happens when I do this --- lib/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.py b/lib/build.py index b55e2b713..9d498fb25 100644 --- a/lib/build.py +++ b/lib/build.py @@ -321,7 +321,7 @@ def modify(cli_): else: shell = "/bin/sh" # FIXME: This logic is a bit busted - if ((commands not in [[],['']]) or (cli.script is not None)): + if ((commands != []) or (cli.script is not None)): # non-interactive case (ā€œ-cā€ or script) if (cli.script is not None): tree = modify_tree_make_script(src_image.ref, cli.script)