mirror of
https://github.com/Llewellynvdm/deploy.sh.git
synced 2024-06-01 12:30:48 +00:00
fixed bug in config parser
This commit is contained in:
parent
37c128d35e
commit
2c707cd647
|
@ -57,7 +57,7 @@ USER_NAME=$(echo "$USER" | cut -d',' -f2)
|
||||||
USER_KEY=$(echo "$USER" | cut -d',' -f3)
|
USER_KEY=$(echo "$USER" | cut -d',' -f3)
|
||||||
|
|
||||||
# get server list
|
# get server list
|
||||||
SERVERS=$(cat /etc/deploy.conf | sed -e '/^$/ d' -e '/^[#].*/ d')
|
SERVERS=$(cat /etc/deploy.conf | sed -e '/^$/ d' -e '/^[#u].*/ d')
|
||||||
|
|
||||||
# get file list
|
# get file list
|
||||||
FILES=$(cat /$DIR/.deploy | sed -e '/^$/ d' -e '/^[#].*/ d' -e '/BEGIN\:/,$ d')
|
FILES=$(cat /$DIR/.deploy | sed -e '/^$/ d' -e '/^[#].*/ d' -e '/BEGIN\:/,$ d')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user