From 7b177ae9ef12def9d52f970a0bdb1a3135ba9a63 Mon Sep 17 00:00:00 2001 From: ming Date: Thu, 27 Nov 2025 16:58:28 +0800 Subject: [PATCH] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb1ebe8..632940c 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ reponame := $(shell basename $(shell git rev-parse --show-toplevel)) projtype := $(shell basename $(shell dirname $(shell git rev-parse --show-toplevel))) pubtype := $(if $(findstring PUB,$(branchname)),public,protected) remotedir := dwuser@drwater.net:/home/www/drc/$(projtype)/$(pubtype)/$(reponame)/$(branchname) -outputdir := $(shell awk -F': *' '/^ *output-dir:/ {print $$2 "/" }' ./*.yml) +outputdir := $(shell awk -F': *' '/^ *output-dir:/ {print $$2 "/" }' ./*.yml | head -n 1) siteurl := https://drc.drwater.net/$(projtype)/$(pubtype)/$(reponame)/$(branchname) branchnames := "TX\|FJ\|YF\|ZY\|WW\|JB\|YY\|YJ\|DYF"