File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# # START STANDARD SITE BUILD SCRIPT INCLUDE
33readonly THIS_SCRIPT=" $( readlink -f " ${BASH_SOURCE[0]} " ) "
44readonly BOOTSTRAP=" $( dirname " $THIS_SCRIPT " ) /resources/bootstrap.inc.sh"
5- readonly BOOTSTRAP_VERSION=v1.0.9
6- [ -f " $BOOTSTRAP " ] && source " $BOOTSTRAP " || source <( curl -H " Cache-Control: no-cache" -fs https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION /bootstrap.inc.sh)
5+ readonly BOOTSTRAP_VERSION=v1.0.10
6+ if ! [ -f " $BOOTSTRAP " ] || ! source " $BOOTSTRAP " ; then
7+ curl -H " Cache-Control: no-cache" --fail --silent --show-error -w " curl: Finished attempt to download %{url}" " https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION /bootstrap.inc.sh" -o " $BOOTSTRAP .tmp" || exit 1
8+ source " $BOOTSTRAP .tmp"
9+ rm -f " $BOOTSTRAP .tmp"
10+ fi
711# # END STANDARD SITE BUILD SCRIPT INCLUDE
812
913# TODO: these should probably all be moved to a common defines script too?
You can’t perform that action at this time.
0 commit comments