From 157f4235a0cb2d6a37b131e0c52fecef9566f32c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 21 Dec 2024 18:39:34 +0300 Subject: slightly improved the hash bang replacement on SciTECO scripts after installation * use the new ::FS and ^Q commands --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index fac7b1b..765111a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -34,7 +34,7 @@ dist_scitecodata_DATA = sciteco.tmac # FIXME: This will patch the hash-bang line repeatedly. install-exec-hook: $(SCITECO_FULL) -e "@EB'$(DESTDIR)$(bindir)/*.tes' 1U* \ - EJ-1<%*^[ 0,L.@FR'#!^EM^Xsciteco'#!$(SCITECO_INSTALLED)'> \ + EJ-1<%*^[ 0,^Q::@FR'#!^EM^Xsciteco'#!$(SCITECO_INSTALLED)'> \ :EX" womendir = $(scitecolibdir)/women -- cgit v1.2.3