changeset 7674:b8aef93178db

fix: quote variable substitution To prevent issues with spaces in the variable. The var should be a single word but it pays to be careful. Courtesy of https://www.shellcheck.net/
author John Rouillard <rouilj@ieee.org>
date Tue, 24 Oct 2023 21:45:05 -0400
parents 08e87030f3a2
children b3c3e508b18f
files scripts/Docker/roundup_start
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/Docker/roundup_start	Tue Oct 24 21:42:56 2023 -0400
+++ b/scripts/Docker/roundup_start	Tue Oct 24 21:45:05 2023 -0400
@@ -120,11 +120,11 @@
 		    exec roundup-demo \
 			 -B 0.0.0.0 \
 			 -p 8080 \
-			 -b $backend \
-			 --urlport $PORT_8080 \
-			 -t $template \
+			 -b "$backend" \
+			 --urlport "$PORT_8080" \
+			 -t "$template" \
 			 tracker/demo \
-			 $nuke
+			 "$nuke"
 		fi
 		;;
 	    shell)

Roundup Issue Tracker: http://roundup-tracker.org/