Update le-cloudxns.sh

This commit is contained in:
tianyu 2016-02-02 13:36:04 +08:00
parent be922f8fc6
commit 342ec84f82
1 changed files with 6 additions and 5 deletions

View File

@ -2,12 +2,13 @@
export CONFIG=$1
if [ ! -f "$CONFIG" ];then
echo "ERROR, CONFIG NOT EXIST."
if [ -f "$CONFIG" ];then
. $CONFIG
cd $(dirname $CONFIG)
else
echo "ERROR CONFIG."
exit 1
fi
. $CONFIG
fi
echo "$CERT_DOMAINS" > domains.txt