mirror of https://github.com/zulip/zulip.git
install-server: Quote filenames in existance checks
(imported from commit ed17b65d875b5321c57fff4e16263282cccf4dff)
This commit is contained in:
parent
16a5af0b8d
commit
11f8dc644d
|
@ -14,19 +14,19 @@ if ! $(echo "$hostname" | grep -q humbughq.com$); then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
amazon_key_file=~/humbug/humbug.pem
|
amazon_key_file=~/humbug/humbug.pem
|
||||||
if ! [ -e $amazon_key_file ]; then
|
if ! [ -e "$amazon_key_file" ]; then
|
||||||
echo "You need humbug.pem at $amazon_key_file; ask tabbott for it"
|
echo "You need humbug.pem at $amazon_key_file; ask tabbott for it"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
server_private_key_file=~/humbug/servers/puppet/files/id_rsa
|
server_private_key_file=~/humbug/servers/puppet/files/id_rsa
|
||||||
if ! [ -e $server_private_key_file ]; then
|
if ! [ -e "$server_private_key_file" ]; then
|
||||||
echo "You need a server ssh key at $server_private_key_file"
|
echo "You need a server ssh key at $server_private_key_file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
humbug_cert_file=~/humbug/certs/humbug-self-signed.key
|
humbug_cert_file=~/humbug/certs/humbug-self-signed.key
|
||||||
if ! [ -e $humbug_cert_file ]; then
|
if ! [ -e "$humbug_cert_file" ]; then
|
||||||
echo "You need humbug-self-signed.key at $humbug_cert_file"
|
echo "You need humbug-self-signed.key at $humbug_cert_file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue