From cea512992b023bb0ed5e9f3ba32563659ebec6f9 Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 3 Jan 2024 17:34:55 +0800 Subject: [PATCH] add some --- src/template/web.code.publish/binary.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/template/web.code.publish/binary.sh b/src/template/web.code.publish/binary.sh index 84153bb5..ec53c699 100644 --- a/src/template/web.code.publish/binary.sh +++ b/src/template/web.code.publish/binary.sh @@ -1,2 +1 @@ -mkdir contexts; cd contexts -export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}} temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp binary +export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp binary