#!/bin/bash # ======================================================================== # Demo 2.2 config arguments. # # This builds the ../../2.1-upgrades/ gallery with 2.2's command-line # config arguments, in one of two flavors per its "flavor" setting. # Config arguments like these make it easy to vary settings per build. # # See also ../tool-tips-gallery/_generate.sh for similar code, plus # ../../2.1-upgrades/dynamiclayout/_generate.sh for the former (and now # largely superseded) alternative which edited the config file with sed. # # This file is Bash code. Run it in its own folder with "bash filename" # in a Unix shell, or use its python3 commands separately at the console. # This script uses Bash multi-line commands ("\" means line continuation), # and 'here' documents to automate console input (lines in "<