diff --git a/container-setup.sh b/container-setup.sh index bb08296..4806fde 100755 --- a/container-setup.sh +++ b/container-setup.sh @@ -1,6 +1,11 @@ #!/bin/sh -. ./config +if [ -z "$1" ] ; then + echo "Error - must supply config file" + exit 1 +fi + +. "$1" ./dev/container-create.sh diff --git a/publish.sh b/publish.sh index 95c317b..27587e4 100755 --- a/publish.sh +++ b/publish.sh @@ -1,6 +1,11 @@ #!/bin/sh -. ./config +if [ -z "$1" ] ; then + echo "Error - must supply config file" + exit 1 +fi + +. "$1" ./dev/export-data.sh diff --git a/webserver-provision.sh b/webserver-provision.sh index c7c1a27..6986a3a 100755 --- a/webserver-provision.sh +++ b/webserver-provision.sh @@ -1,6 +1,11 @@ #!/bin/sh -. ./config +if [ -z "$1" ] ; then + echo "Error - must supply config file" + exit 1 +fi + +. "$1" _ssh_url="root@$_remote_host.$_domain"