From 43d6d0b1386aaa88c43026728056595cbcb3b1d3 Mon Sep 17 00:00:00 2001 From: Christopher Engelhard Date: Aug 21 2020 11:22:47 +0000 Subject: fix missing %, $ --- diff --git a/acme-sh/acme.sh-system b/acme-sh/acme.sh-system index 03037ec..b2e4e29 100644 --- a/acme-sh/acme.sh-system +++ b/acme-sh/acme.sh-system @@ -3,7 +3,7 @@ # as the global systemd renewal service # set environment file -ENVFILE="{_sysconfdir}/sysconfig/%{binname}" +ENVFILE="%{_sysconfdir}/sysconfig/%{binname}" # load vars from environment file and export them if [ -f "$ENVFILE" ]; then @@ -13,6 +13,6 @@ if [ -f "$ENVFILE" ]; then fi # launch %{binname} -sh %{_datadir}/%{binname}/%{binname} "@" $ACME_SH_EXTRARGS +sh %{_datadir}/%{binname}/%{binname} "$@" "$ACME_SH_EXTRARGS" exit $?