[tlbuild] PATCH: Fix build on OpenBSD

vext01 at gmail.com vext01 at gmail.com
Sun May 31 18:06:55 CEST 2009


Hi,

I had to aply this patch to the sources to get a working build. I think
it is correct, but can someone confirm this?

--- source/texk/dvipsk/texc.script.old  Sat May 30 14:49:31 2009
+++ source/texk/dvipsk/texc.script      Sat May 30 14:49:49 2009
@@ -4,5 +4,5 @@
 # To use it, say
 #       texc.script tex.lpro texc.lpro
 #
-sed $1 -e '/begin code/,/end code/d' \
-       -e '/alternate code/,/end of code/s/^% //' >$2
+sed  -e '/begin code/,/end code/d' \
+     -e '/alternate code/,/end of code/s/^% //' $1 >$2


Without the patch I get 'invalid command code .' from sed, as the
filename must be last. Does this work on other systems too?

sed [-anu] [-e command] [-f command_file] [file ...]

Thanks

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett


More information about the tlbuild mailing list