diff mbox series

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

Message ID 20190530052525.5598-1-sam@mendozajonas.com
State Accepted
Headers show
Series [1/2] utils: Quote plugin name and vendor variables | expand

Commit Message

Sam Mendoza-Jonas May 30, 2019, 5:25 a.m. UTC
Otherwise we only get the first word displayed in the UI.

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

Comments

Sam Mendoza-Jonas June 11, 2019, 3:22 a.m. UTC | #1
On Thu, 2019-05-30 at 15:25 +1000, Samuel Mendoza-Jonas wrote:
> Otherwise we only get the first word displayed in the UI.
> 
> Signed-off-by: Samuel Mendoza-Jonas <sam@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@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"
>  

Series merged as 3cf30cf
diff mbox series

Patch

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@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"