[PATCH 1/2] utils: Quote plugin name and vendor variables

Samuel Mendoza-Jonas sam at mendozajonas.com
Thu May 30 15:25:24 AEST 2019


Otherwise we only get the first word displayed in the UI.

Signed-off-by: Samuel Mendoza-Jonas <sam at mendozajonas.com>
---
 utils/pb-plugin | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/pb-plugin b/utils/pb-plugin
index a42d0515..45bf19de 100755
--- a/utils/pb-plugin
+++ b/utils/pb-plugin
@@ -232,8 +232,8 @@ do_install()
 	done
 
 	pb-event plugin at local \
-		name=$PLUGIN_NAME id=$PLUGIN_ID version=$PLUGIN_VERSION \
-		vendor=$PLUGIN_VENDOR vendor_id=$PLUGIN_VENDOR_ID \
+		name="$PLUGIN_NAME" id=$PLUGIN_ID version=$PLUGIN_VERSION \
+		vendor="$PLUGIN_VENDOR" vendor_id=$PLUGIN_VENDOR_ID \
 		date=$PLUGIN_DATE executables="$PLUGIN_EXECUTABLES" \
 		source_file=$url installed="yes"
 
-- 
2.21.0



More information about the Petitboot mailing list