Re: More robust substitute*

2013-02-03 Thread Andreas Enge
Am Sonntag, 3. Februar 2013 schrieb Ludovic Courtès: > Ah right, the ‘patch-shebangs’ phase just looks at files in ‘bin’ and > ‘sbin’ (see gnu-build-system.scm). Indeed, I am unpacking the additional tarballs and using patch-source- shebangs on them, so your suggestion was really useful. > I’m no

Re: More robust substitute*

2013-02-03 Thread Ludovic Courtès
Hello! Andreas Enge skribis: > Am Samstag, 2. Februar 2013 schrieb Ludovic Courtès: >> Andreas Enge skribis: >> > in texlive, there are lots of scripts to be installed in share; thus, >> > the patch-shebang phase does not catch them. >> Do you know why it doesn’t catch them? The ‘patch-source-

Re: More robust substitute*

2013-02-02 Thread Andreas Enge
Am Samstag, 2. Februar 2013 schrieb Ludovic Courtès: > Andreas Enge skribis: > > in texlive, there are lots of scripts to be installed in share; thus, > > the patch-shebang phase does not catch them. > Do you know why it doesn’t catch them? The ‘patch-source-shebangs’ > phase patches all the file

Re: More robust substitute*

2013-02-02 Thread Ludovic Courtès
Hello! Andreas Enge skribis: > in texlive, there are lots of scripts to be installed in share; thus, the > patch-shebang phase does not catch them. Do you know why it doesn’t catch them? The ‘patch-source-shebangs’ phase patches all the files found under “.”, recursively. Did you by any chan

More robust substitute*

2013-02-02 Thread Andreas Enge
Hello, in texlive, there are lots of scripts to be installed in share; thus, the patch-shebang phase does not catch them. I tried the following: (substitute* (find-files "." "") (("^#!/bin/sh") (string-append "#!" (which "bash" This chokes on binary files, in this case on a "Compile