From 3f7ce1907019215cc37e6109b4cd6320d428e8c7 Mon Sep 17 00:00:00 2001 From: Nadav Har'El Date: Thu, 14 Mar 2019 11:01:32 +0200 Subject: [PATCH] scripts/build: gracefully handle spaces in image= parameter A space in the image= or modules= parameter, while not really useful, should not cause strange errors messages about bad parameters to module.py. Quoting was missing. Signed-off-by: Nadav Har'El --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index 091c2fce08..557a88a43c 100755 --- a/scripts/build +++ b/scripts/build @@ -154,7 +154,7 @@ if [ "$export" == "selected" ] then no_required_arg="--no-required" fi -fs_type=$fs_type jdkbase=$jdkbase ARCH=$arch mode=$mode OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c $modules $usrskel_arg $no_required_arg +fs_type=$fs_type jdkbase=$jdkbase ARCH=$arch mode=$mode OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c "$modules" $usrskel_arg $no_required_arg bootfs_manifest=$manifest make "${args[@]}" | tee -a build.out # check exit status of make