From d6247a7a42eba820d4f5a3af22fff490c2dc8bf3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 5 Apr 2017 20:28:22 +0200 Subject: Adjust form tweaking regex. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59c7274..9cb0aa6 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ build: set -e;\ $(foreach path,$(patsubst forms/%,%,$(wildcard forms/*.cgi forms/*/*.cgi)),\ install -DT 'forms/$(path)' 'build/forms/$(path)'; \ - perl -i -pe "s:'../build':'$(CURDIR)/build':g" 'build/forms/$(path)';\ + perl -i -pe "s:'../build/:'$(CURDIR)/build/:g" 'build/forms/$(path)';\ $(foreach htmlstempath,$(path:%.cgi=build/html/%),\ $(if $(wildcard $(htmlstempath).tmpl),,cp $(htmlstempath).html $(htmlstempath).tmpl;)\ 'build/forms/$(path)' > $(htmlstempath).html)) -- cgit v1.2.3