diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index cd3e57e21..8f2484768 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -146,7 +146,7 @@ update_version() { # Update the version to the latest echo "Updating the version file." echo $NEWVERSION > /etc/soversion - sed -i 's/$INSTALLEDVERSION/$NEWVERSION/g' /opt/so/saltstack/local/pillar/static.sls + sed -i "s/$INSTALLEDVERSION/$NEWVERSION/g" /opt/so/saltstack/local/pillar/static.sls } upgrade_check() { @@ -199,10 +199,10 @@ echo "" echo "Copying new code" copy_new_files echo "" -echo "Running a highstate to complete upgrade" -highstate -echo "" echo "Updating version" update_version echo "" +echo "Running a highstate to complete upgrade" +highstate +echo "" echo "Upgrade from $INSTALLEDVERSION to $NEWVERSION complete."