install-server: Quote filenames in existance checks

(imported from commit ed17b65d875b5321c57fff4e16263282cccf4dff)
This commit is contained in:
Zev Benjamin 2012-12-13 11:12:49 -05:00
parent 16a5af0b8d
commit 11f8dc644d
1 changed files with 3 additions and 3 deletions

View File

@ -14,19 +14,19 @@ if ! $(echo "$hostname" | grep -q humbughq.com$); then
fi
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"
exit 1
fi
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"
exit 1
fi
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"
exit 1
fi