From cd3fb1b4870d99329e37f5c68751cbbe0bfc224f Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 9 Jan 2019 09:03:43 -0500 Subject: [PATCH] fix bootstrap.sh to not confuse the status checks about the latest version --- setup/bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/bootstrap.sh b/setup/bootstrap.sh index f46e5f1f..90b43ce2 100644 --- a/setup/bootstrap.sh +++ b/setup/bootstrap.sh @@ -14,9 +14,10 @@ if [ -z "$TAG" ]; then # in part because an upgrade is required before jumping to Ubuntu 18.04. # New users on Ubuntu 18 need to get the latest version number too. # - # Also, the system status checks read this script for TAG= to get - # the latest version, so the first TAG= line must be the one that - # we want to display in status checks. + # Also, the system status checks read this script for TAG = to get + # (without the space, but if we put it in a comment it would confuse + # the status checks!) the latest version, so the first such line must + # be the one that we want to display in status checks. if [ "`lsb_release -d | sed 's/.*:\s*//' | sed 's/18\.04\.[0-9]/18.04/' `" == "Ubuntu 18.04 LTS" ]; then # This machine is running Ubuntu 18.04. TAG=v0.30