Skip to content

Commit a2184b7

Browse files
committed
reverse order of cerbotargs. wrapped to 80
1 parent cb2f2ba commit a2184b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

update.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ do
4949
echo "# ${branchname}"
5050
branchid="${branchname##*/}"
5151
branchpath="/srv/clones/${branchid}"
52-
certbotargs="-w ${branchpath}/docroot -d ${branchid}.legal.creativecommons.org ${certbotargs:-}"
52+
webroot="${branchpath}/docroot"
53+
domain="${branchid}.legal.creativecommons.org"
54+
certbotargs="${certbotargs:-} -w '${webroot}' -d '${domain}'"
5355
git checkout -f -q "${branchname}"
5456
git show-branch --sha1-name HEAD
5557
mkdir -p "${branchpath}"

0 commit comments

Comments
 (0)