From 99793c54d6a0ca7a41ca9c1ab9ec9104e82dbc44 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Wed, 14 Oct 2015 16:25:53 -0700 Subject: [PATCH] More portability --- bootstrap/mac.sh | 2 +- letsencrypt-auto | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap/mac.sh b/bootstrap/mac.sh index 6779188a7..84e87cf5b 100755 --- a/bootstrap/mac.sh +++ b/bootstrap/mac.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e if ! hash brew 2>/dev/null; then echo "Homebrew Not Installed\nDownloading..." ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" diff --git a/letsencrypt-auto b/letsencrypt-auto index 77a545fc6..7f7533f39 100755 --- a/letsencrypt-auto +++ b/letsencrypt-auto @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e # # Installs and updates the letencrypt virtualenv, and runs letsencrypt # using that virtual environment. This allows the client to function decently @@ -39,7 +39,8 @@ then sudo $BOOTSTRAP/freebsd.sh elif uname | grep -iq Darwin ; then echo "Bootstrapping dependencies for Mac OS X..." - sudo $BOOTSTRAP/mac.sh + echo "WARNING: Mac support is very experimental at present..." + $BOOTSTRAP/mac.sh else echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!" echo