specify as argument config file location
This commit is contained in:
parent
d947f564e9
commit
b4e977da3e
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue