specify as argument config file location

This commit is contained in:
Ray Elliott 2020-05-06 13:38:37 +01:00
parent d947f564e9
commit b4e977da3e
3 changed files with 18 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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"